how to make a discord bot in java code example
Example 1: how to make a discord bot
//discord.js is probably the easiest to learn. To install do this
//in command prompt (Windows, Linux) or terminal (Mac)
npm init
//and then
npm i discord.js
//after that just read the discord.js.org documentation
//and follow a couple yt guides, maybe join some servers.
Example 2: how to make a discord bot
mkdir musicbot && cd musicbot
Example 3: java discord bot api
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>VERSION</version>
</dependency>
<repository>
<id>dv8tion</id>
<name>m2-dv8tion</name>
<url>https://m2.dv8tion.net/releases</url>
</repository>
// Add these to your pom.xml