Exemple #1
0
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)
Exemple #2
0
def teardown(bot: tbb.TravusBotBase):
    """Teardown function ran when module is unloaded."""
    bot.remove_cog("CoreFunctionalityCog")  # Remove cog and command help info.
    bot.remove_command_help(CoreFunctionalityCog)