From 9ca32cfa28337b68d71d8ffba7c73f030be6bfe9 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 13 Aug 2024 23:16:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B8?= =?UTF-8?q?=D0=BB=20inline=20=D1=82=D0=B0=D1=81=D0=BA=D0=B8=20=D0=BF=D0=BE?= =?UTF-8?q?=20=D0=B4=D0=B5=D1=84=D0=BE=D0=BB=D1=82=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ocab_modules/ocab_modules/standard/welcome/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ocab_modules/ocab_modules/standard/welcome/main.py b/src/ocab_modules/ocab_modules/standard/welcome/main.py index 1f5c068..1fe147d 100644 --- a/src/ocab_modules/ocab_modules/standard/welcome/main.py +++ b/src/ocab_modules/ocab_modules/standard/welcome/main.py @@ -249,7 +249,7 @@ async def module_init(): # MATH BUTTONS config.register( - "welcome::tasks::math_buttons::enabled", "boolean", default_value=True + "welcome::tasks::math_buttons::enabled", "boolean", default_value=False ) config.register( "welcome::tasks::math_buttons::message_text", @@ -289,7 +289,7 @@ async def module_init(): # QUESTION BUTTONS config.register( - "welcome::tasks::question_buttons::enabled", "boolean", default_value=True + "welcome::tasks::question_buttons::enabled", "boolean", default_value=False ) config.register( "welcome::tasks::question_buttons::message_text", @@ -333,13 +333,12 @@ async def module_init(): router = Router() router.chat_member(ChatMemberUpdatedFilter(JOIN_TRANSITION))(new_member_handler) - router.chat_member(ChatMemberUpdatedFilter(LEAVE_TRANSITION))(left_member_handler) - router.callback_query(VerificationCallback.filter())( handle_inline_button_verification ) router.poll_answer()(handle_poll_verification) + # router.message()(handle_input_verification) register_router(router)