diff --git a/instruct/handlers.py b/instruct/handlers.py index 3cae6bd..62fc0d2 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -59,6 +59,7 @@ async def instruct_main_handler(msg: Message): # Цифра 0 — возврат в главное меню if msg.text and msg.text.strip() == "0": clear_state(user_id) + setattr(msg, "handled", True) await msg.answer(MENU_TEXT, parse_mode="html") instruct_logger.info(f"User {user_id} returned to main menu via 0") return