""" Initializing code for all loops. """ from nextcord.ext import commands from .bot_presence import BotPresence from .guild_data import GuildData # 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 function to bot""" bot.add_cog(BotPresence(bot)) bot.add_cog(GuildData(bot))