mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-04-16 05:11:45 +00:00
[OPB-42] aligning templates with new multi embed support
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "warning_threshold_reached_notification_title"/>"
|
||||
@@ -11,3 +13,5 @@
|
||||
<#assign messageId=messageId>
|
||||
"description": "<@safe_include "warning_threshold_reached_notification_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "starboard_post_created_title"/>"
|
||||
@@ -39,3 +41,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "starboard_post_deleted_title"/>"
|
||||
@@ -31,3 +33,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "
|
||||
@@ -12,3 +14,5 @@
|
||||
<#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>
|
||||
@@ -19,3 +21,5 @@
|
||||
</#if>
|
||||
</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "
|
||||
@@ -18,3 +20,5 @@
|
||||
<#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,3 +1,5 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#include "member_author">
|
||||
@@ -15,3 +17,5 @@
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "too_recent_referral_post"/>",
|
||||
"timeStamp": "${nextReferralDate}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,6 @@
|
||||
{
|
||||
"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