diff --git a/telegram-application/src/core/tg_service/utils.py b/telegram-application/src/core/tg_service/utils.py index cc275fa..3ccc14d 100644 --- a/telegram-application/src/core/tg_service/utils.py +++ b/telegram-application/src/core/tg_service/utils.py @@ -22,7 +22,7 @@ def check_message_condition( if 'bot' in message.from_user.username.lower(): return False - emoji_count = emoji.emoji_count(message.text) + emoji_count = emoji.emoji_count(str(message.text)) if emoji_count > 3: return False