From 01c90f4c6f84ff9f2522a61c692eb19f9b6a9a92 Mon Sep 17 00:00:00 2001 From: Who? <155328415+coddrago@users.noreply.github.com> Date: Mon, 21 Apr 2025 15:49:06 +0700 Subject: [PATCH] Update utils.py --- hikka/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hikka/utils.py b/hikka/utils.py index 972402f..f864dd5 100644 --- a/hikka/utils.py +++ b/hikka/utils.py @@ -1455,7 +1455,7 @@ def remove_emoji(text: str) -> str: allchars = [str for str in text] emoji_list = [c for c in allchars if c in emoji.EMOJI_DATA] - clean_text = ' '.join([str for str in text.split() if not any(i in str for i in emoji_list)]) + clean_text = ''.join([str for str in text if not any(i in str for i in emoji_list)]) return clean_text def get_kwargs() -> typing.Dict[str, typing.Any]: