Cogs - Read the Docs
https://discordpy.readthedocs.io/en/stable/ext/commands/cogs.htmlOnce you have defined your cogs, you need to tell the bot to register the cogs to be used. We do this via the add_cog () method. content_copy bot.add_cog(Greetings(bot)) This binds the cog to the bot, adding all commands and listeners to the bot automatically. Note that we reference the cog by name, which we can override through Meta Options.