Skip to content

Commit

Permalink
update handlers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 5, 2025
1 parent e803177 commit b8cc938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/core/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
)

Expand Down

0 comments on commit b8cc938

Please sign in to comment.