mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-27 07:27:03 +01:00
Now parsing custom emoji
This commit is contained in:
parent
82bccb7188
commit
4016f816c1
@ -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), "<img src='https://cdn.discordapp.com/emojis/{}.png'></img>".format(id))
|
||||
return newText
|
||||
|
||||
#Default emoji object here
|
||||
#{
|
||||
#"require_colons": true,
|
||||
#"managed": false,
|
||||
#"name": "sh",
|
||||
#"roles": [],
|
||||
#"id": "318499652175396866"
|
||||
#}
|
||||
return newText
|
Loading…
Reference in New Issue
Block a user