Skip to content

craft-code-club/craft-code-club-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Craft & Code Club - Discord Bot

Steps to create a Discord Bot

Configure Environment Variables

  1. 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>

Install the required packages

dotenv

echo python-dotenv >> requirements.txt

discord.py

echo discord.py >> requirements.txt

Install packages

pip install -r requirements.txt

References