- Then we need to create a
.env
file with the following content in the root of the project:
DISCORD_API_TOKEN=<your_discord_api_key>
echo python-dotenv >> requirements.txt
echo discord.py >> requirements.txt
pip install -r requirements.txt
.env
file with the following content in the root of the project:DISCORD_API_TOKEN=<your_discord_api_key>
echo python-dotenv >> requirements.txt
echo discord.py >> requirements.txt
pip install -r requirements.txt