feat: seperate commands into cogs (categories)

This commit is contained in:
2021-07-29 00:29:14 -04:00
parent 59015ebf82
commit d7df1d7076
5 changed files with 84 additions and 51 deletions

9
cogs/python.py Normal file
View File

@@ -0,0 +1,9 @@
from discord.ext import commands
class Python(commands.Cog):
"""General commands about python programming"""
@commands.command()
async def resources(self, ctx):
"""!resources - resources for python programming"""
await ctx.send("Some resources for you here!")