Refactor presence to loops.

This commit is contained in:
2023-03-28 13:02:07 -04:00
parent 7d1e69c007
commit 379f280c11
2 changed files with 15 additions and 8 deletions
+14
View File
@@ -0,0 +1,14 @@
"""
Initializing code for all loops.
"""
from nextcord.ext import commands
from .bot_presence import BotPresence
# 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))