Utilize the following commands, in order, in the terminal window to run this program. If running your own bot, initialize a file titled
.env
and declare your bots discord token there in the following format:
token = place your token here
api = "place the str(url) to your api endpoint here"
python -m venv venv
Enables the virtual environment.
.\venv\scripts\activate
source venv/bin/activate
Activates the generated virtual environment.
pip install -r requirements.txt
Installs all dependencies specified in the requirements file.
python main.py
Runs the python program.
Ctrl + C
Terminates the python program.
deactivate
Deactivates the virtual environment.