I am making this gist to show some examples of stuff you can do with discord.py, and also because the amount of up-to-date examples online is rather limited.
This will not be a guide for learning how to use the basics of the wrapper, but merely showing some code to get a better understanding of some of the things discord.py can do. I will therefore assume that anybody looking at this will understand the basics of both python and the wrapper in question.
I will also assume that asyncio
, discord.ext commands
and discord
are installed and imported, and that the commands.Bot
instance is stored in the variable bot
.