A Java Discord bot for your Discord Toram guild.
To run this bot you need to have JRE 8+ installed on your computer and to setup some environment variables which is not big deal!
Download the jar file of the bot. Open up your text editor and write the following:
java -jar [file].jar
After that you need to set up environment variables:
Environment variable | usage |
---|---|
DISCORD_TOKEN | Standard bot token used for Discord bots. |
BOT_COMMAND_PREFIX | The prefix used to separate commands from messages. |
DISCORD_BOT_LIST_API | API key used for the discord bot list if you are using that. |
SQL_URL | The URL for the SQL database used for automatic news updates. The syntax is: mysql://<username>:<password>@<host>:<port>/<db_name> |
REDIS_URL | The URL for the Redis database. The syntax is redis://<username>:<password>@<host>:<port>/<optional_database_name> |
You just need to write stop in the console window of the bot.
- The bot uses Javacord as the API.