This is a pretty basic boilerplate for discord.py bot. It features two example cogs as well.
The bot token is to be placed in a .env
file in this format:
BOT_TOKEN=<PLACE_TOKEN_HERE>
Or just move/copy .env.example
to .env
making the necessary changes.
Also check the branch for_virtual_env for running the bot in virtual environment.
This template was heavily inspired by the neat and tidy code for TryHackMe's discord bot.