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