From c466ecc47c9005bdd9ba7f2cd01f0b31953779fc Mon Sep 17 00:00:00 2001 From: Alex Kulikov Date: Sun, 18 Feb 2024 20:38:46 +0000 Subject: [PATCH] fix: rm filters.Entity --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 323b211..5e807fb 100644 --- a/app.py +++ b/app.py @@ -56,7 +56,7 @@ def main(): application.add_handler(CommandHandler("start", handlers.start_handler)) application.add_handler(CallbackQueryHandler(handlers.button_handler)) application.add_handler( - MessageHandler((filters.TEXT | filters.Entity), handlers.message_handler) + MessageHandler(filters.TEXT, handlers.message_handler) ) application.add_error_handler(handlers.error_handler)