Note: Requires Python 3.9 or newer.
-
Create a new Discord bot at https://discord.com/developers/applications
See here for more detailed instructions. Note that the bot does not have to be marked as public.
-
Copy
secret.py.exampletosecret.pyand add your bot token. Other values can be customised as well but they are not critical for a basic setup. -
Change the channel IDs in
config.pyif the bot is not running on the Zeus Operations discord. -
Create a virtual environment:
sudo apt install python3-venv python3-pip python3 -m venv venv
-
Activate the virtual environment:
source venv/bin/activate -
Install required packages:
pip install -r requirements.txt