Repository for the discord bot of 42CTF
Go to file
Starthur 664a099cb8 Add docker-compose 2022-05-28 12:24:10 +02:00
src Add docker-compose 2022-05-28 12:24:10 +02:00
.dockerignore dockerfiles + env lice 2022-02-18 20:54:27 +01:00
.gitignore Add docker-compose 2022-05-28 12:24:10 +02:00
README.md Cleaning 2022-05-27 14:30:58 +02:00
docker-compose.yaml Add docker-compose 2022-05-28 12:24:10 +02:00

README.md

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