mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-04-21 06:22:44 +00:00
[OPB-xxx] updating abstracto version to 1.5.51
adapting templates to use the default locale
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
<#assign roleMention="<@&479202891358535681>"/>
|
||||
<#assign authorMention>${author.user.name}</#assign>
|
||||
"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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "news_post_locked_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "news_post_not_found_exception_text">
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#macro postDisplay post>
|
||||
https://community.oneplus.com/thread/${post.postId?c} | ${post.subject?json_string}
|
||||
</#macro>
|
||||
"description": "<#list entries as entry><@postDisplay post=entry /></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user