This is a bot which runs on a Discord server. TUM Heilbronn
This bot is going to run on Heroku. It can be run for free. You need to create your Heroku account at first.
After creating your account, you can get the API key. To automatically setup the bot, you need to set it in GitHub Secrets.
Also, since this is a Discord bot, it requires a token for accessing Discord. You can get it from below.
-
Execute
python setup_secrets.py
and type your secrets (e.g. Discord token). -
Start the bot by executing
python main.py
.
- Add secrets below to GitHub Secrets.
DISCORD_TOKEN
HEROKU_API_KEY
HEROKU_APP_NAME
HEROKU_EMAIL
- Just push to the repository or manually start GitHub Actions to deploy.