Add loop for updating guild data.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user