yf-dev / trickybot

Discord bot for tiny gaming community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrickyBot - Discord bot for tiny gaming community

Invite TrickyBot Korean Tricky Towers Union Discord MIT License

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.

1. Installation & Configuration

To use TrickyBot, you must first create a Discord bot. Instructions on how to create a Discord bot can be found at here.

  1. Clone this repository.

  2. Create an .env file in repository root and specify Discord token as follows:

DISCORD_TOKEN=token_string
  1. Run the bot with docker-compose
$ docker-compose up
  1. If you prefer, you can run the bot directly via pipenv.
$ pipenv lock --pre
$ pipenv install
$ pipenv run app
  1. Invite your bot to server and play the game! (When creating an invitation link, do not forget to set the "Manage Roles" permission)

2. Change game and role name

You can change game and role name by changing constant TRICKY_GAME_NAMES and TRICKY_ROLE_NAME on app.py file.

3. License

MIT

About

Discord bot for tiny gaming community

License:MIT License


Languages

Language:Python 91.9%Language:Dockerfile 8.1%