[OPB-xxx] adding feature mode to fully automate news posts

This commit is contained in:
Sheldan
2025-08-16 13:07:56 +02:00
parent bdcfccf5ad
commit 96d5ca06e7
8 changed files with 172 additions and 22 deletions

View File

@@ -0,0 +1,17 @@
{
<#assign roleMention="<@&479202891358535681>"/>
"additionalMessage": "${roleMention}",
"embeds": [
{
<#macro postDisplay post>
${post.subject?json_string}
https://community.oneplus.com/thread/${post.postId?c}
</#macro>
"description": "<#list entries as entry><@postDisplay post=entry /></#list>"
}
],
"messageConfig": {
"allowsRoleMention": true
}
}