A collection of discord bots created with Python using the enhanced-dpy module
-
install python3.10
-
run
python3.10 -m venv .venv -
run
source .venv/bin/activate -
run
pip install git+https://github.com/iDevision/enhanced-discord.py -
run
pip install -r requirements.txt -
create a file named
.envand add your API Token to it like this:
API_TOKEN="<your API Token>"-
For testing purposes just running it with
python bot.pyinside your venv is fine. -
bot.shcontains an exemplary script to run the bot once the venv is set up. Just edit the path to wherever you cloned the repository to and run it with./bot.sh <start/stop>