mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-03-29 16:16:09 +00:00
[OPB-xxx] adding feature mode to fully automate news posts
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user