async def teardown(bot: tbb.TravusBotBase): """Teardown function ran when module is unloaded.""" await bot.remove_cog("ModerationCog") # Remove cog and command help info. bot.remove_module("Moderation") bot.remove_command_help(ModerationCog)
def teardown(bot: tbb.TravusBotBase): """Teardown function ran when module is unloaded.""" bot.remove_cog("DevCog") # Remove cog and command help info. bot.remove_module("Dev") bot.remove_command_help(DevCog)