From 7b76bef889030e53e55f977ef6fcab5b56a8dd88 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 5 Oct 2026 01:47:32 +0200 Subject: [PATCH] fix: register slash command handler --- VERSION | 2 +- bot.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 7ea54d0..f5f419b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0+15 +0.1.0+16 diff --git a/bot.py b/bot.py index e7aee45..345c85b 100644 --- a/bot.py +++ b/bot.py @@ -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":