Редактировать info.py

This commit is contained in:
Markov Andrey
2026-06-30 21:39:15 +00:00
parent 0527885d45
commit f99227bdfe

View File

@@ -43,9 +43,7 @@ class InfoCommand(Command):
) )
reply = msg.reply(help_text) reply = msg.reply(help_text)
if reply: if reply:
reply.send() # <-- УБРАЛИ await reply.send()
else:
logger.error("Не удалось отправить справку info")
def get_help(self) -> str: def get_help(self) -> str:
return "Показывает краткую справку. Использование: `!info`" return "Показывает краткую справку. Использование: `!info`"