Пример #1
0
def setup(bot: botto.Botto) -> None:
    bot._old_help_command = bot.help_command
    bot.help_command = HelpCommand(
        color=botto.config["MAIN_COLOR"],
        verify_checks=False,
        command_attrs={"help": "Show help information."},
    )
Пример #2
0
def teardown(bot: botto.Botto) -> None:
    bot.help_command = bot._old_help_command
    del bot._old_help_command