Example #1
0
File: help.py Project: pharaoh1/bot
def unload(bot: Bot) -> None:
    """
    Reinstates the original help command.

    This is run if the cog raises an exception on load, or if the extension is unloaded.
    """
    bot.remove_command('help')
    bot.add_command(bot._old_help)