mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-23 16:23:02 +03:00
отключил inline таски по дефолту
This commit is contained in:
parent
f6f0f8c02b
commit
9ca32cfa28
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user