This is a simple Discord Bot built by 2 Students of the University of Bonn. The Bot can do many things: starting from simple greetings and telling jokes, to setting timers, making polls and even joining you on a voice channel.
The Main Libraries and APIs we used for this Application are:
Here we will explain how to get this Bot up and running.
-
Java 8 or later
Make sure to have Java 8 or later installed. However, the current version is recommended.
-
IDE
You will need an IDE to be able to start your bot. We would recommend IntelliJ IDEA.
-
Discord Account
Logically, you will also need a discord account in order to run your bot
-
API key
The used API needs a key to be functional. You can subscribe for free: this allows 50 requests per day.
-
Clone the repo
git clone https://github.com/krristi427/DiscordBot.git your_directory
-
Create a new Application here. Copy the token from there
-
Open
resources/config.properties
and replace the token there with one of your own. -
Replace the contents of the variable jokeApiKey with the key provided from the api.
-
Run the Application
Bear in mind that the prefix is %
. You can change that in the same file, just watch out that the new prefix
doesn't match the prefix of another bot on your server.
Contributions are what make the open source community such an amazing place to be! Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request