From 4016f816c1b6886abc73a3ac2ddeeac97262ce3b Mon Sep 17 00:00:00 2001 From: JustMaffie Date: Sun, 28 May 2017 23:46:26 +0200 Subject: [PATCH] Now parsing custom emoji --- webapp/titanembeds/EmojiParser.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/webapp/titanembeds/EmojiParser.py b/webapp/titanembeds/EmojiParser.py index a77331a..70d6ffb 100644 --- a/webapp/titanembeds/EmojiParser.py +++ b/webapp/titanembeds/EmojiParser.py @@ -14,13 +14,4 @@ def parseEmoji(textToParse, guild_id): for emoji2 in emojis: if name.lower is emoji2.replace(":", "").lower(): newText = newText.replace(":{}:".format(name), "".format(id)) - return newText - -#Default emoji object here -#{ -#"require_colons": true, -#"managed": false, -#"name": "sh", -#"roles": [], -#"id": "318499652175396866" -#} \ No newline at end of file + return newText \ No newline at end of file