diff --git a/src/bot.py b/src/bot.py index 2b40da3..dc45521 100644 --- a/src/bot.py +++ b/src/bot.py @@ -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)