- Install python3 on your system, then
pip3 install -U discord.py
pip install -U python-dotenv
Create the environment file in the same folder as bot.py. The filename must be .env
and the content must be the following:
# .env
DISCORD_TOKEN=Your token
GUILD_NAME=Your guild name
COMMAND=/d3ot
python3 bot.py