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)