Animated Emoji Support, Closes #85

This commit is contained in:
Jeremy Zhang
2018-03-01 07:57:45 +00:00
parent b61d249fe6
commit 63979835ab
4 changed files with 16 additions and 6 deletions

View File

@ -322,7 +322,7 @@
</script>
<script id="mustache_message_emoji" type="text/template">
<img class="message_emoji tooltipped" src='https://cdn.discordapp.com/emojis/{{id}}.png' data-position="top" data-delay="200" data-tooltip=":{{name}}:" alt=":{{name}}:" />
<img class="message_emoji tooltipped" src='https://cdn.discordapp.com/emojis/{{id}}{{#animated}}.gif{{/animated}}{{^animated}}.png{{/animated}}' data-position="top" data-delay="200" data-tooltip=":{{name}}:" alt=":{{name}}:" />
</script>
<script id="mustache_discordmention" type="text/template">