This bot is an example for the Javacord library.
The bot currently supports the following commands:
!copyAvatarSets the avatar of the bot to the avatar of the user who used this command. This command can only be used by the creator of the bot. You can find the implementation here: CopyAvatarCommand.java!userInfoShows some basic information (id, name, etc.) about the user who used this command. You can find the implementation here: UserInfoCommand.java
You can compile the bot by running gradlew jar. The created fat jar located at /build/libs/example-bot.jar contains all
required dependencies (Javacord and Log4j2) to run the bot.
Take a look at the build.gradle file.
After compiling the bot using Gradle you can run the bot using java -jar example-bot.jar yourBotToken.
You can view the login process by looking at the
Main.java
class.