[AB-xxx] adding templates for getConfig command

This commit is contained in:
Sheldan
2025-12-28 23:47:07 +01:00
parent 0978c5ff7f
commit 5e30f334c4
12 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
<@config_value_display entry=configValue/>

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "getConfig_no_configs_found_text"/>"
}
]
}

View File

@@ -0,0 +1,10 @@
{
"embeds": [
{
"description": "<#list row as configValue><#assign configValue=configValue><@safe_include "getConfig_config_value_entry"/>\n</#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

@@ -0,0 +1,10 @@
<#include "getConfig_display_macro">
{
<#assign exitOnly=innerModel.values?size lt 10/>
"embedConfigs": [
<#assign chunks=innerModel.values?chunk(9)>
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "getConfig_response_embed"><#sep>,</#list>
],
"timeoutSeconds": 120,
"restrictUser": true
}