отключил inline таски по дефолту

This commit is contained in:
Maxim Slipenko 2024-08-13 23:16:31 +03:00
parent f6f0f8c02b
commit 9ca32cfa28

View File

@ -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)