fix: register slash command handler
This commit is contained in:
1 parent
40383eb6e7
commit
7b76bef889
2 files changed
+2
-1
No files matched your search
@@ -419,6 +419,7 @@ async def idea_voice_command(message: Message) -> None:
|
||||
await report_error(message, "озвучка идеи", exc)
|
||||
|
||||
|
||||
@router.message(F.text & F.text.startswith("/"))
|
||||
async def handle_command_text(message: Message) -> None:
|
||||
command = (message.text or "").strip().split(maxsplit=1)[0].split("@", 1)[0].casefold()
|
||||
if command == "/help":
|
||||
|
||||
Reference in new issue
Block a user