From a6eed841342354bb6e25ff80649f2924159c4439 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 26 Oct 2023 12:25:02 +0300 Subject: [PATCH] feedback-hotfix-3 --- bot/handlers/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/handlers/routing.py b/bot/handlers/routing.py index 12a23ce..62e23a3 100644 --- a/bot/handlers/routing.py +++ b/bot/handlers/routing.py @@ -30,7 +30,7 @@ async def handle_routing(msg, state): logger.debug(msg) if msg.get("reply_to_message"): await handle_answer(msg) - elif msg["text"].startswith("/ask"): + elif msg.get("text", "").startswith("/ask"): await handle_command_ask(msg) else: