A simple Discord bot to begin using discord.py.
Be sure to have Python 3.8 or higher installed as it is required by discord.py.
Clone the projet and install the requirements (in a venv preferably):
git clone https://github.com/Zalk0/SimpleBot-Discord.git
cd SimpleBot-Discord
pip install -r requirements.txt
Before launching the bot, you need to fill in a .env
file (using the template
I provide in the repo) and put a Discord bot token inside.
To have one, go to the Discord Developer Portal and create a new application.
Go to the Bot section and click the Reset Token button, you can now claim the token.
You also have to enable all the Privileged Gateway Intents as I assume they're enabled in the code.
After having done all this you can launch the bot:
python main.py