This is a simple template that has the basics that you would either need or want in pretty much all discord bots written in discord.py (rewrite branch). IT DOES EXPECT YOU TO KNOW PYTHON! Unlike red bot, and other similar projects, which doesnt expect you to know any coding and is a relatively complete bot in it's own right, this is not. This is a barebone skeleton for you to implement your own logic, commands and features with a bit of the boiler plate taken care of.
Recently I have been made aware that Rapptz and his contributors have added a template and bot generator within the discord.py module. It's a little more simple than mine, but otherwise is short and concise. If you would rather use his you can find it by doing python -m discord newbot
from your terminal/ command line provided you have installed the discord.py module version 1.0.0a.
Note this uses the Rewrite branch of discord.py. which can be found here, and it's licence is here.
I have intentionally not included most logic, and instead just laid the ground work for you to impliment your own code. It also requires python 3.6+ however with some simple modification it can be used with python 3.5.
So feel free to fork it and create your own bot!
Helpful Links:
- https://discord.gg/discord-api - A discord server with discusions on bot building and the API
- https://discord.gg/r3sSKJJ - The official Discord.py support server managed by Danny
- http://discordpy.readthedocs.io/en/rewrite - Discord.py's documentation for the rewrite branch
- https://discordapp.com/developers/applications/me - Where you can create your bot account & token