A simple discord bot created to learn Python
- Create a Bot application at Discord Developer Portal and copy client secret
- Software
Python 3.9 or higherMakeDocker(optional)
-
Clone the repo:
git clone https://github.com/scamper07/BroDiscordBot.git cd BroDiscordBot -
Setup virtual environment
make setup-venv -
Activate the environment
a. On Linux
source bot-env/bin/activateb. On Windows
bot-env\Scripts\activate -
Install package requirements
make setup -
Save client secret in
DISCORD_BOT_TOKENenvironment variable -
Start the bot
make run
Or
- Run the following command
docker-compose up -d --build --force-recreate bro
Done!