A discord bot that allows you to set reminders on your server for upcoming codeforces rounds.
To get the full list of commands type ;help after adding the bot to the server.
Use ;upcoming to get the upcoming contest on codeforces.
Use ;rfn @ROLE_TO_NOTIFIY to register a channel for notifications.
You can run the code using any of the following methods.
Install the required python modules (perferably in a virtual env) to be able to run the bot.
Python -m venv venv
venv\Scripts\activate.bat
Pip install -r requirements.txtThen copy the .env.example file and rename it to .env and fill in the appropriate values.
Run the bot using the followingL
python -m CFDiscordNotificationBotFirst make sure u have docker installed. Build the image from the dockerfile then run an container using the following commands.
docker build -t cfnbot:latest .
docker run --rm -d -v CFNdata:/usr/src/app/Data/ --name CFN cfnbot:latestTo stop the container:
docker stop CFNFirst make sure u have docker compose installed. Run the following command to start the container.
docker-compose upUse --build if there has been a change to the Dockerfile.
docker-compose up --buildTo stop the container:
docker-compose downIf you to use the same volume as docker change the volume part of docker-compose.yml to:
volumes:
CFNdata:
external: truePlease read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
SemVer was used for versioning. For the versions available, see the tags on this repository. For the Changelog see the CHANGELOG file.
- Mohamed Said - TheDigitalPhoenixX
- Sameh Amnoun - SamehAmnoun
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details



