From 497be610d37a8c687fb8dc5d3e2f0ef2faf3f6dc Mon Sep 17 00:00:00 2001 From: 5hojib Date: Sun, 5 Jan 2025 14:21:54 +0000 Subject: [PATCH] Auto-format code [skip actions] --- bot/core/handlers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bot/core/handlers.py b/bot/core/handlers.py index d170e5ebb..7292049a9 100644 --- a/bot/core/handlers.py +++ b/bot/core/handlers.py @@ -194,10 +194,12 @@ def add_handlers(): for handler_func, command_name, custom_filter in command_filters.values(): if custom_filter: - filters_to_apply = command(command_name, case_sensitive=True) & custom_filter + filters_to_apply = ( + command(command_name, case_sensitive=True) & custom_filter + ) else: filters_to_apply = command(command_name, case_sensitive=True) - + TgClient.bot.add_handler( MessageHandler( handler_func,