""" Cog loader. Adds all command classes as cogs to the bot. """ from nextcord.ext import commands # Command classes from .message_management import MessageManagement from .settings_management import SettingsManagement from .table_management import TableManagement # This function will be called when this extension is loaded. # It is necessary to add these functions to the bot. def setup(bot: commands.Bot): """Adds all command classes to bot.""" bot.add_cog(TableManagement()) bot.add_cog(MessageManagement(bot)) bot.add_cog(SettingsManagement())