Skip to content

Commit

Permalink
chore: codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyqu committed Oct 20, 2024
1 parent 4b18917 commit 130c941
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,12 @@ async def wrapper(*args, **kwargs):

return wrapper

self.application.add_handler(MessageHandler(filters.TEXT, asyncify(handlers.handle_user_message)))
self.application.add_handler(CallbackQueryHandler(asyncify(handlers.handle_callback_query)))
self.application.add_handler(
MessageHandler(filters.TEXT, asyncify(handlers.handle_user_message))
)
self.application.add_handler(
CallbackQueryHandler(asyncify(handlers.handle_callback_query))
)
self.application.add_handler(
MessageHandler(
filters.StatusUpdate.NEW_CHAT_MEMBERS, asyncify(handlers.handle_new_members)
Expand Down

0 comments on commit 130c941

Please sign in to comment.