[AB-161] fixed usernote template, removed title from no emotes available for show tracked emotes command

This commit is contained in:
Sheldan
2020-11-22 18:53:16 +01:00
parent cca79507d5
commit e4257c4eec
2 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
{
"author": {
<#if specifiedUser??>
"name": "<@member_user_name member=specifiedUser/>",
"name": "<@member_user_name member=specifiedUser.member/>",
"avatar": "${specifiedUser.member.user.effectiveAvatarUrl}"
<#else>
"name": "<@member_user_name member=member/>",
@@ -10,7 +10,7 @@
},
"title": {
<#if specifiedUser??>
<#assign user><@member_user_name member=specifiedUser/></#assign>
<#assign user><@member_user_name member=specifiedUser.member/></#assign>
"title": "<@safe_include "user_notes_embed_user_title"/>"
<#else>
"title": "<@safe_include "user_notes_embed_title"/>"
@@ -20,7 +20,7 @@
"description": "<#list userNotes as note><#assign note=note/>
<#assign user>${note.fullUser.member.asMention?js_string}</#assign>
<#assign noteText>${note.note.note?js_string}</#assign>
<#assign noteId>${note.note.id}</#assign>
<#assign noteId>${note.note.userNoteId.id}</#assign>
<#assign date>${formatDate(note.note.created, "yyyy-MM-dd HH:mm:ss")}</#assign>
<@safe_include "user_notes_note_entry"/><#else><@safe_include "user_notes_no_notes"/>
</#list>"

View File

@@ -1,7 +1,4 @@
{
"title": {
"title": "<@safe_include "showTrackedEmotes_response_embed_title"/>"
},
<#include "warning_color">,
"description": "<@safe_include "showTrackedEmotes_no_emotes_available"/>"
}