diff --git a/bot.py b/bot.py index a7d04f4..d703772 100644 --- a/bot.py +++ b/bot.py @@ -39,14 +39,7 @@ class TextHelpCommand(commands.HelpCommand): ) -> None: lines: list[str] = ["Доступные команды:"] - for cog_or_none, cog_commands in mapping.items(): - if cog_or_none is None: - # Standalone-команды (без cog) — показываем если не hidden - for command in cog_commands: - if not command.hidden: - desc = command.short_doc or "" - lines.append(f" !{command.name} - {desc}") - continue + for _cog_or_none, cog_commands in mapping.items(): for command in cog_commands: if not command.hidden: desc = command.short_doc or ""