diff --git a/telegram-application/src/core/tg_service/utils.py b/telegram-application/src/core/tg_service/utils.py index bb9f96a..48971fb 100644 --- a/telegram-application/src/core/tg_service/utils.py +++ b/telegram-application/src/core/tg_service/utils.py @@ -11,6 +11,7 @@ def check_message_condition( message.chat.type not in [ChatType.PRIVATE, ChatType.BOT], bool(message.from_user), bool(message.text), + bool('bot' not in message.from_user.username.lower()), ) return all(conditions)