diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 6119d55..f25b8ba 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -670,6 +670,8 @@ var rendered = Mustache.render(template, {"id": emoji.id, "name": emoji.name}).trim(); message.content = message.content.replaceAll(emoji_format, rendered); } + var rendered = Mustache.render(template, {"id": "$2", "name": "$1"}).trim(); + message.content = message.content.replace(/<:(.*?):(.*?)>/g, rendered); return message; }