perrycate / cerebrum

A bot for the Dededediscord. Consider this a rough draft, don't expect high quality if you're reading through the code...
GNU General Public License v3.0
0 stars 0 forks source link

Make use of discord.py's bot/cog extensions #8

Open perrycate opened 4 years ago

perrycate commented 4 years ago

Discord.py has a lot of useful features that I'm not taking advantage of yet: https://discordpy.readthedocs.io/en/latest/ext/commands/index.html

From a learning standpoint it makes sense for me to start small, but as(/if?) this project grows I'll eventually need to start taking full advantage of the library to avoid reinventing the wheel.

perrycate commented 4 years ago

Looks like it'll be awhile before cogs become useful, but I could switch to using the commands stuff whenever without too much work. Still, until the boilerplate from working at a lower-level gets annoying (or hard-to-fix bugs that are already handled by the commands library show up), I don't think it's worth switching just yet.