diff --git a/instruct/handlers.py b/instruct/handlers.py index 8bbd2e5..85ea36a 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -54,9 +54,11 @@ async def instruct_router_handler(msg: Message): await msg.answer(MENU_TEXT, parse_mode="html") elif cmd == "1": log_menu_stats(user_id, "Инструкции", "Trueconf") + set_state(user_id, "INSTRUCT_TRUECONF_VIEW") await msg.answer(INSTRUCT_TRUECONF_TEXT, parse_mode="html") elif cmd == "2": log_menu_stats(user_id, "Инструкции", "Почта") + set_state(user_id, "INSTRUCT_EMAIL_VIEW") await msg.answer(INSTRUCT_EMAIL_TEXT, parse_mode="html") else: await msg.answer(UNKNOWN_MAIN_CMD_TEXT, parse_mode="html")