From 97c7dcdb719a4fa99247165b2b2e4accb33f3a6a Mon Sep 17 00:00:00 2001 From: harold Date: Wed, 28 May 2025 17:22:20 +0500 Subject: [PATCH] add fix --- telegram-application/src/core/tg_service/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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