Refractor command files into single command files.

This commit is contained in:
alwayscompiling
2022-12-07 21:46:04 -05:00
parent a9920db381
commit 6c5f40f788
4 changed files with 185 additions and 134 deletions
+6 -4
View File
@@ -5,9 +5,10 @@ Cog loader. Adds all command cogs to the bot.
from nextcord.ext import commands
# Command classes
from .data_management import DataManagementCog
from .message_management import MessageManagementCog
from .delete import DeleteCog
from .refresh import RefreshCog
from .set import SetCog
from .update import UpdateCog
# This function will be called when this extension is loaded.
@@ -16,6 +17,7 @@ def setup(bot: commands.Bot):
"""
Adds all command classes to bot.
"""
bot.add_cog(DataManagementCog(bot))
bot.add_cog(MessageManagementCog(bot))
bot.add_cog(DeleteCog())
bot.add_cog(RefreshCog(bot))
bot.add_cog(SetCog())
bot.add_cog(UpdateCog(bot))