TrickyBot is a Discord bot for very very tiny gaming community.
This bot will add and remove specific role automatically for members who are playing nice game like Tricky Towers within the same Discord server.
TrickyBot was created for Korean Tricky Towers Union Discord, but it can be easily applied to other game communities.
To use TrickyBot, you must first create a Discord bot. Instructions on how to create a Discord bot can be found at here.
-
Clone this repository.
-
Create an
.env
file in repository root and specify Discord token as follows:
DISCORD_TOKEN=token_string
- Run the bot with docker-compose
$ docker-compose up
- If you prefer, you can run the bot directly via pipenv.
$ pipenv lock --pre
$ pipenv install
$ pipenv run app
- Invite your bot to server and play the game! (When creating an invitation link, do not forget to set the "Manage Roles" permission)
You can change game and role name by changing constant TRICKY_GAME_NAMES
and TRICKY_ROLE_NAME
on app.py
file.
MIT