Repository for the discord bot of 42CTF
Go to file
Arthur-TRT cc88b29130 Cleaning 2022-05-27 14:30:58 +02:00
.dockerignore dockerfiles + env lice 2022-02-18 20:54:27 +01:00
.gitignore Cleaning 2022-05-27 14:30:58 +02:00
Dockerfile Upgrade Package and Dockerfile 2022-05-27 12:58:41 +02:00
README.md Cleaning 2022-05-27 14:30:58 +02:00
bot.js changed url 2022-05-01 14:25:42 +02:00
package-lock.json Upgrade Package and Dockerfile 2022-05-27 12:58:41 +02:00
package.json Upgrade Package and Dockerfile 2022-05-27 12:58:41 +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