diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 27e0095..9f48ec2 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -1006,6 +1006,8 @@ } var rendered = Mustache.render(template, {"id": "$2", "name": "$1"}).trim(); message.content = message.content.replace(/<:(.*?):(.*?)>/g, rendered); + rendered = Mustache.render(template, {"id": "$2", "name": "$1", "animated": true}).trim(); + message.content = message.content.replace(/<a:(.*?):(.*?)>/g, rendered); message.content = twemoji.parse(message.content, { className: "message_emoji", callback: function(icon, options, variant) { // exclude special characters