mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-04-14 20:43:10 +00:00
[OPB-42] aligning templates with new multi embed support
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "warning_threshold_reached_notification_title"/>"
|
||||
},
|
||||
@@ -10,4 +12,6 @@
|
||||
<#assign channelDisplay=channelDisplay>
|
||||
<#assign messageId=messageId>
|
||||
"description": "<@safe_include "warning_threshold_reached_notification_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "starboard_post_created_title"/>"
|
||||
},
|
||||
@@ -38,4 +40,6 @@
|
||||
</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "starboard_post_deleted_title"/>"
|
||||
},
|
||||
@@ -30,4 +32,6 @@
|
||||
</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "
|
||||
<#list uses as usage>
|
||||
@@ -11,4 +13,6 @@
|
||||
<@safe_include "FAQUsage_usage_display"/><#sep>, </#list>
|
||||
<#else>
|
||||
<@safe_include "FAQUsage_no_usages"/></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2,6 +2,8 @@
|
||||
<#if additionalMessage??>
|
||||
"additionalMessage": "${additionalMessage?json_string}"
|
||||
</#if>
|
||||
"embeds": [
|
||||
{
|
||||
<#if description?? || imageURL??>
|
||||
<#include "user_author">
|
||||
<#if additionalMessage??>,</#if>
|
||||
@@ -18,4 +20,6 @@
|
||||
,"imageUrl": "${imageURL}"
|
||||
</#if>
|
||||
</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "
|
||||
<@safe_include "listFAQCommands_command_header"/>
|
||||
<@safe_include "listFAQCommands_command_header"/>
|
||||
|
||||
<#list commands as command>
|
||||
<#assign command=command>
|
||||
@@ -17,4 +19,6 @@
|
||||
|
||||
<#else>
|
||||
<@safe_include "listFAQCommands_no_commands"/></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2,11 +2,17 @@
|
||||
<#assign roleMention="<@&479202891358535681>"/>
|
||||
<#assign authorMention>${author.user.name}#${author.user.discriminator}</#assign>
|
||||
"additionalMessage": "<@safe_include "news_post_description"/>",
|
||||
"embeds": [
|
||||
{
|
||||
<#if message.attachments?size gt 0>
|
||||
"imageUrl": "${message.attachments[0].proxyUrl}",
|
||||
</#if>
|
||||
"metaConfig": {
|
||||
"allowsRoleMention": true,
|
||||
"preventEmptyEmbed": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"messageConfig": {
|
||||
"allowsRoleMention": true
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#include "member_author">
|
||||
<#assign member=postingMember>
|
||||
@@ -14,4 +16,6 @@
|
||||
<#sep>,
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "too_recent_referral_post"/>",
|
||||
"timeStamp": "${nextReferralDate}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"additionalMessage": "${definition.definition?json_string}",
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"fields": [
|
||||
{
|
||||
@@ -12,9 +15,10 @@
|
||||
"valueLengthLimit": 250,
|
||||
"inline": "true"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"additionalMessage": "${definition.definition?json_string}",
|
||||
"metaConfig": {
|
||||
"messageConfig": {
|
||||
"messageLimit": 1,
|
||||
"additionalMessageLengthLimit": 250
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
The channel in which warn threshold notifications should be sent to. Default: ${defaultValue}
|
||||
The channel in which warn threshold notifications should be sent to. Default: ${currentTarget}
|
||||
Reference in New Issue
Block a user