Skip to content

Commit

Permalink
Auto-format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 5, 2025
1 parent a887689 commit 497be61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bot/core/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 497be61

Please sign in to comment.