[AB-233] adding templates for delete attachment feature which leads to an message updated event

removing duplicate field on show emote response
This commit is contained in:
Sheldan
2021-04-24 18:04:19 +02:00
parent 73ca42bd66
commit b57efc809a
4 changed files with 16 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
{
"imageUrl": "${imageUrl}",
<#include "abstracto_color"/>,
"fields": [
{
"name": "<@safe_include "messageDeleted_attachment_link_field_title"/>",

View File

@@ -0,0 +1,14 @@
{
"imageUrl": "${imageUrl}",
<#include "abstracto_color"/>,
"description": "<@safe_include "messageEdited_attachment_removed_description"/>",
"fields": [
{
"name": "<@safe_include "messageDeleted_attachment_link_field_title"/>",
"value": "[<@safe_include "messageDeleted_attachment_link_display_text"/>](${imageUrl})"
}
],
"footer": {
"text": "<@safe_include "messageDeleted_attachment_footer"/> #${counter}"
}
}

View File

@@ -7,11 +7,6 @@
"value": "${emote.name}",
"inline": "true"
},
{
"name": "<@safe_include "showEmote_response_embed_emote_link_field_title"/>",
"value": "[<@safe_include "showEmote_response_embed_emote_link_field_text"/>](${emote.imageUrl})",
"inline": "true"
},
{
"name": "<@safe_include "showEmote_response_embed_emote_link_field_title"/>",
"value": "${emote.imageUrl}",