mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-04 16:45:51 +00:00
[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:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"imageUrl": "${imageUrl}",
|
"imageUrl": "${imageUrl}",
|
||||||
|
<#include "abstracto_color"/>,
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "<@safe_include "messageDeleted_attachment_link_field_title"/>",
|
"name": "<@safe_include "messageDeleted_attachment_link_field_title"/>",
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -7,11 +7,6 @@
|
|||||||
"value": "${emote.name}",
|
"value": "${emote.name}",
|
||||||
"inline": "true"
|
"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"/>",
|
"name": "<@safe_include "showEmote_response_embed_emote_link_field_title"/>",
|
||||||
"value": "${emote.imageUrl}",
|
"value": "${emote.imageUrl}",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Attachment has been removed
|
||||||
Reference in New Issue
Block a user