Add loop for updating guild data.

This commit is contained in:
2023-03-28 13:44:03 -04:00
parent 379f280c11
commit 74aa78c748
2 changed files with 50 additions and 0 deletions
+2
View File
@@ -5,6 +5,7 @@ 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.
@@ -12,3 +13,4 @@ from .bot_presence import BotPresence
def setup(bot: commands.Bot):
"""Adds function to bot"""
bot.add_cog(BotPresence(bot))
bot.add_cog(GuildData(bot))