[OPB-42] aligning templates with new multi embed support

This commit is contained in:
Sheldan
2021-12-08 16:40:35 +01:00
parent eae07fd07c
commit aa4de8f571
11 changed files with 190 additions and 148 deletions

View File

@@ -1,12 +1,18 @@
{
<#assign roleMention="<@&479202891358535681>"/>
<#assign authorMention>${author.user.name}#${author.user.discriminator}</#assign>
"additionalMessage": "<@safe_include "news_post_description"/>",
<#if message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
</#if>
"metaConfig": {
"allowsRoleMention": true,
"preventEmptyEmbed": true
}
"additionalMessage": "<@safe_include "news_post_description"/>",
"embeds": [
{
<#if message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
</#if>
"metaConfig": {
"preventEmptyEmbed": true
}
}
],
"messageConfig": {
"allowsRoleMention": true
}
}