From 3f66f9d84f8c4e60f51cac16e5e42dd12585dff8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 19 Feb 2019 21:06:57 +0100 Subject: [PATCH] Fix emoji case --- utils/emojify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/emojify.py b/utils/emojify.py index 69865b54..c870ccec 100644 --- a/utils/emojify.py +++ b/utils/emojify.py @@ -49,7 +49,7 @@ emojis = { } def emojify(string: str): - new_string = string + new_string = string.lower() for key in emojis: selected_emoji = random.sample(emojis[key], 1)[0] new_string = new_string.replace(key, selected_emoji)