Archived
generated from imcompiling/discord-bot-template
Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
"""Cog loader. Adds all command cogs to the bot."""
|
||||
|
||||
from nextcord.ext import commands
|
||||
|
||||
from cogs.commands.hi import HiCog
|
||||
|
||||
|
||||
# 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) -> None:
|
||||
"""Add all command classes to bot."""
|
||||
bot.add_cog(HiCog(bot))
|
||||
Reference in New Issue
Block a user