fix: tighten callback pattern for id-based category routing
This commit is contained in:
@@ -1373,7 +1373,7 @@ def main():
|
|||||||
fallbacks=[CommandHandler('cancel', cancel)]
|
fallbacks=[CommandHandler('cancel', cancel)]
|
||||||
)
|
)
|
||||||
|
|
||||||
button_pattern = r'^(view_\d+|renewmanual_\d+|delete_\d+|confirmdelete_\d+|renewfromremind_\d+|list_subs_in_category_.+|list_categories|list_all_subs)$'
|
button_pattern = r'^(view_\d+|renewmanual_\d+|delete_\d+|confirmdelete_\d+|renewfromremind_\d+|list_subs_in_category_id_\d+|list_categories|list_all_subs)$'
|
||||||
|
|
||||||
application.add_handler(CommandHandler('start', start))
|
application.add_handler(CommandHandler('start', start))
|
||||||
application.add_handler(CommandHandler('help', help_command))
|
application.add_handler(CommandHandler('help', help_command))
|
||||||
|
|||||||
Reference in New Issue
Block a user