Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

zastrixarundell/Toram-sensei

Repository files navigation

Not affiliated with Toram

Toram-sensei

A Java Discord bot for your Discord Toram guild.

Release version Build Status Support server badge Invite me

Setup

Requirements

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!

Starting up the bot

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>

Stopping the bot

You just need to write stop in the console window of the bot.

Additional info

  • The bot uses Javacord as the API.