A cool Discord bot made for the EPFL IC 2021 promotion
Contributions are welcome and encouraged. There are a few steps to follow before being able to work on the bot:
- Clone the repository:
git clone [email protected]:huguesdevimeux/IC-BOT.git
- Install the requirements:
pip install -r requirements.txt
- You'll now have to get a token to be allowed to run a discord bot. It's fairly easy, a tutorial can be found here
- This repository uses
.env
files to ensure that secrets are not pushed. As you can see insrc/main.py
, you have to create at at the root a file named.env.secret
, and put a single lineTOKEN = YOURTOKEN
inside it.
Run src/main.py
. That's all :D
All the sensible informations are stored in
.env.shared
. Since this file is not pushed, all the variables normally extracted from this file are replaced with NON_LOADED_DATA. (SeeICBOT/var_env.py
). Feel free to ask that I share this file with you if you need it. The bot can work without these value, just not completly.