mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-01 23:35:21 +00:00
[SIS-xxx] updating abstracto version to get capability to use multiple channels for a post target
updating donation notification to use two templates for the post target removing separate donation notification post target in favor of multiple channels removing attribution as the code was refactored and reworked
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
<#assign userPing="<@186558865851154435>">
|
||||
"additionalMessage": "${userPing}",
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
<#assign donatorName><#if donation.anonymous><#include "donations_response_anonymous"><#else>${donation.donatorName}</#if></#assign>
|
||||
<#assign donationAmount=donation.amount>
|
||||
"title": "<@safe_include "debra_donation_notification_embed_title"/>"
|
||||
},
|
||||
<#if donation.message != 'gespendet'>
|
||||
<#assign donationMessage=donation.message>
|
||||
"description": "${donationMessage?json_string}",
|
||||
</#if>
|
||||
"fields": [
|
||||
{
|
||||
<#assign totalDonationAmount=totalDonationAmount>
|
||||
"name": "<@safe_include "debra_donation_notification_embed_field_amount_title"/>",
|
||||
"value": "<@safe_include "debra_donation_notification_embed_field_amount_value"/>"
|
||||
}
|
||||
],
|
||||
"imageUrl": "https://cdn.discordapp.com/attachments/299115929206390784/1047306670319079474/dotpict-1.png",
|
||||
"footer": {
|
||||
"text": "<@safe_include "debra_donation_notification_embed_footer"/>"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "debra_donation_notification_link_button_label"/>",
|
||||
"url": "https://tinyurl.com/debra25",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user