bot/README.md

20 lines
413 B
Markdown

# Discord bot for 42CTF
This bot allows you to automatically assign the top1/top10/top50 roles on the 42CTF Discord server.
To use it you just have to create the docker container :
```
docker build -t discord_bot .
```
Create an `env.list` file containing :
```
DISCORD_TOKEN=<token_discord>
AUTH_TOKEN=<api_42CTF_token>
```
And then run it with :
```
docker run -d --env-file env.list --name discord_bot
```