mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-05 00:53:01 +00:00
[AB-47] adding templates for level actions feature mode
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "addLevelAction_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "removeLevelAction_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#macro actionDisplay action>
|
||||
<#assign parameters = action.parameters?eval_json>
|
||||
<#assign level=action.level>
|
||||
<#assign actionDescription><@safe_include "showLevelActions_action_${action.actionKey}"/></#assign>
|
||||
<#assign actionKey=action.actionKey/>
|
||||
<#assign actionParameter><@safe_include "showLevelActions_action_${action.actionKey}_config"/></#assign>
|
||||
<#if action.member??>
|
||||
<#assign memberdisplay=action.member.memberMention/>
|
||||
</#if>
|
||||
<@safe_include "showLevelActions_action_description"/>
|
||||
|
||||
</#macro>
|
||||
"description": "<#list actions as action><@actionDisplay action=action/></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "level_action_not_found_exception_text">
|
||||
Reference in New Issue
Block a user