Refractor command files into single command files.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user