Clean up mention with mustache

This commit is contained in:
Jeremy Zhang
2017-11-06 03:12:18 +00:00
parent 6a2a3d1f34
commit 07bd0b5f5b
2 changed files with 9 additions and 4 deletions

View File

@ -233,6 +233,10 @@
<img class="message_emoji tooltipped" src='https://cdn.discordapp.com/emojis/{{id}}.png' data-position="top" data-delay="200" data-tooltip=":{{name}}:" alt=":{{name}}:" />
</script>
<script id="mustache_discordmention" type="text/template">
<span class="discordmention"><span class="atsign">@</span><span class="username">{{username}}</span><span class="hash">#</span><span class="discriminator">{{discriminator}}</span></span>
</script>
<script id="mustache_richembed" type="text/template">
<div class="richembed">
{{#color}}