From b8cc938602dbeff6f9eba675a92e8b91b029335b Mon Sep 17 00:00:00 2001 From: 5hojib Date: Sun, 5 Jan 2025 20:14:45 +0600 Subject: [PATCH] update handlers.py --- bot/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/core/handlers.py b/bot/core/handlers.py index 503a0ff72..60d188be5 100644 --- a/bot/core/handlers.py +++ b/bot/core/handlers.py @@ -196,7 +196,7 @@ def add_handlers(): TgClient.bot.add_handler( MessageHandler( handler_func, - filters=command(command_name, case_sensitive=True) & (custom_filter), + filters=command(command_name, case_sensitive=True) & (custom_filter if custom_filter), ), )