Files
agon/cogs/loops/__init__.py
T

15 lines
327 B
Python

"""
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))