mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-04-07 02:00:43 +00:00
[OPB-42] aligning templates with new multi embed support
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
"title": {
|
"title": {
|
||||||
"title": "<@safe_include "warning_threshold_reached_notification_title"/>"
|
"title": "<@safe_include "warning_threshold_reached_notification_title"/>"
|
||||||
@@ -11,3 +13,5 @@
|
|||||||
<#assign messageId=messageId>
|
<#assign messageId=messageId>
|
||||||
"description": "<@safe_include "warning_threshold_reached_notification_description"/>"
|
"description": "<@safe_include "warning_threshold_reached_notification_description"/>"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
"title": {
|
"title": {
|
||||||
"title": "<@safe_include "starboard_post_created_title"/>"
|
"title": "<@safe_include "starboard_post_created_title"/>"
|
||||||
@@ -39,3 +41,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
"title": {
|
"title": {
|
||||||
"title": "<@safe_include "starboard_post_deleted_title"/>"
|
"title": "<@safe_include "starboard_post_deleted_title"/>"
|
||||||
@@ -31,3 +33,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
"description": "
|
"description": "
|
||||||
@@ -12,3 +14,5 @@
|
|||||||
<#else>
|
<#else>
|
||||||
<@safe_include "FAQUsage_no_usages"/></#list>"
|
<@safe_include "FAQUsage_no_usages"/></#list>"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -2,6 +2,8 @@
|
|||||||
<#if additionalMessage??>
|
<#if additionalMessage??>
|
||||||
"additionalMessage": "${additionalMessage?json_string}"
|
"additionalMessage": "${additionalMessage?json_string}"
|
||||||
</#if>
|
</#if>
|
||||||
|
"embeds": [
|
||||||
|
{
|
||||||
<#if description?? || imageURL??>
|
<#if description?? || imageURL??>
|
||||||
<#include "user_author">
|
<#include "user_author">
|
||||||
<#if additionalMessage??>,</#if>
|
<#if additionalMessage??>,</#if>
|
||||||
@@ -19,3 +21,5 @@
|
|||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
"description": "
|
"description": "
|
||||||
@@ -18,3 +20,5 @@
|
|||||||
<#else>
|
<#else>
|
||||||
<@safe_include "listFAQCommands_no_commands"/></#list>"
|
<@safe_include "listFAQCommands_no_commands"/></#list>"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -2,11 +2,17 @@
|
|||||||
<#assign roleMention="<@&479202891358535681>"/>
|
<#assign roleMention="<@&479202891358535681>"/>
|
||||||
<#assign authorMention>${author.user.name}#${author.user.discriminator}</#assign>
|
<#assign authorMention>${author.user.name}#${author.user.discriminator}</#assign>
|
||||||
"additionalMessage": "<@safe_include "news_post_description"/>",
|
"additionalMessage": "<@safe_include "news_post_description"/>",
|
||||||
|
"embeds": [
|
||||||
|
{
|
||||||
<#if message.attachments?size gt 0>
|
<#if message.attachments?size gt 0>
|
||||||
"imageUrl": "${message.attachments[0].proxyUrl}",
|
"imageUrl": "${message.attachments[0].proxyUrl}",
|
||||||
</#if>
|
</#if>
|
||||||
"metaConfig": {
|
"metaConfig": {
|
||||||
"allowsRoleMention": true,
|
|
||||||
"preventEmptyEmbed": true
|
"preventEmptyEmbed": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"messageConfig": {
|
||||||
|
"allowsRoleMention": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
<#include "member_author">
|
<#include "member_author">
|
||||||
@@ -15,3 +17,5 @@
|
|||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,5 +1,9 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
"description": "<@safe_include "too_recent_referral_post"/>",
|
"description": "<@safe_include "too_recent_referral_post"/>",
|
||||||
"timeStamp": "${nextReferralDate}"
|
"timeStamp": "${nextReferralDate}"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
{
|
||||||
|
"additionalMessage": "${definition.definition?json_string}",
|
||||||
|
"embeds": [
|
||||||
{
|
{
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
"fields": [
|
"fields": [
|
||||||
@@ -12,9 +15,10 @@
|
|||||||
"valueLengthLimit": 250,
|
"valueLengthLimit": 250,
|
||||||
"inline": "true"
|
"inline": "true"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"additionalMessage": "${definition.definition?json_string}",
|
"messageConfig": {
|
||||||
"metaConfig": {
|
|
||||||
"messageLimit": 1,
|
"messageLimit": 1,
|
||||||
"additionalMessageLengthLimit": 250
|
"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