A nice and polite bot made for the Discord's server of the IEM P8 reworked by goat among the IEM P9.
This bot is built on top of Discord.js library for Node.js. See this page to know how to register it on your Discord's server.
Then you'll need to tweak some files a little bit, because some of the variables are not stored in this repo for security reasons. To deploy the bot you'll need to configure them in 2 separate files :
Rename the file config.example.json to config.json and update the variables inside. To find them, see this page for the token and this page for the IDs.
Rename the file example.env to .env and update the URL the bot will visit to grab the planning. It's the page displaying only one week of the planning, given by the QR code available in the regular planning page. The page looks like this :

- Clone the repo on your server and
cdinto it - Add the
.envand theconfig.jsonfiles - Build the image :
docker build . -t iem-discord-bot:latest - Run the image :
docker run -d --name iem-discord-bot iem-discord-bot:latest