Skip to content

Vampire/Example-Bot

 
 

Repository files navigation

Javacord Example Bot Javacord Wiki Discord Server

This bot is an example for the Javacord library.

Features

The bot currently supports the following commands:

  • !copyAvatar Sets 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
  • !userInfo Shows some basic information (id, name, etc.) about the user who used this command. You can find the implementation here: UserInfoCommand.java

Compiling the bot

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.

Running the bot

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.

About

An example bot for the Javacord library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%