diff options
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,15 +55,15 @@ def main() -> None: | |||
55 | MessageHandler(filters.LOCATION, callback_location_sharing), | 55 | MessageHandler(filters.LOCATION, callback_location_sharing), |
56 | ], | 56 | ], |
57 | LOCATION_SEARCH_KEYWORD: [ | 57 | LOCATION_SEARCH_KEYWORD: [ |
58 | MessageHandler(filters.TEXT, callback_location_keyword_search), | 58 | MessageHandler(filters.TEXT & ~filters.COMMAND, callback_location_keyword_search), |
59 | CallbackQueryHandler(callback_skip_location_keyword), | 59 | CallbackQueryHandler(callback_skip_location_keyword), |
60 | ], | 60 | ], |
61 | LOCATION_CONFIRMATION: [ | 61 | LOCATION_CONFIRMATION: [ |
62 | CallbackQueryHandler(callback_location_confirmation), | 62 | CallbackQueryHandler(callback_location_confirmation), |
63 | MessageHandler(filters.TEXT, callback_manual_location) | 63 | MessageHandler(filters.TEXT & ~filters.COMMAND, callback_manual_location) |
64 | ], | 64 | ], |
65 | ADD_COMMENT: [ | 65 | ADD_COMMENT: [ |
66 | MessageHandler(filters.TEXT, callback_add_comment), | 66 | MessageHandler(filters.TEXT & ~filters.COMMAND, callback_add_comment), |
67 | CallbackQueryHandler(callback_skip_comment), | 67 | CallbackQueryHandler(callback_skip_comment), |
68 | ], | 68 | ], |
69 | ADD_MEDIA: [MessageHandler(filters.PHOTO, callback_add_media), | 69 | ADD_MEDIA: [MessageHandler(filters.PHOTO, callback_add_media), |