From 233a7e041f615018673b531f5967bca64257b1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D1=80=D0=B8=D0=B2?= =?UTF-8?q?=D0=BE=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Tue, 21 Jul 2026 01:18:18 +0700 Subject: [PATCH] fix: instruct_main_menu_text() now uses EMOJI_DIGITS instead of undefined emojis --- instruct/handlers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/instruct/handlers.py b/instruct/handlers.py index 02274ba..db8a5d5 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -10,6 +10,7 @@ from utils.texts import ( instruct_main_menu_text, instruct_tc_text, instruct_email_text, + EMOJI_DIGITS, ) INSTRUCT_MAIN_MENU_TEXT = instruct_main_menu_text @@ -20,7 +21,7 @@ INSTRUCT_MAIN_MENU_TEXT = instruct_main_menu_text async def send_instruct_main_menu(msg: Message, user_id: str): """Send the Instruct main menu to the user.""" - await msg.answer(instruct_main_menu_text(), parse_mode="html") + await msg.answer(instruct_main_menu_text(EMOJI_DIGITS), parse_mode="html") # SETUP @@ -65,7 +66,7 @@ async def instruct_main_handler(msg: Message): if user_id not in instruct_sessions: instruct_sessions[user_id] = {"step": "choose_option", "selected": None} - await msg.answer(instruct_main_menu_text(), parse_mode="html") + await msg.answer(instruct_main_menu_text(EMOJI_DIGITS), parse_mode="html") instruct_logger.info(f"Instruct main menu shown for user {user_id}") @router.message()