[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,2 @@
<#macro config_value_value_display entry><#if entry.longValue??>${entry.longValue?c}</#if><#if entry.stringValue??>${entry.stringValue}</#if><#if entry.doubleValue??>${entry.doubleValue}</#if></#macro>
<#macro config_value_display entry>${entry.key}: <#if entry.hasConcreateValue><@config_value_value_display entry=entry/><#else><#include "getConfig_display_no_concrete_value_label"></#if> <#include "getConfig_display_default_label">: <@config_value_value_display entry=entry.defaultValue/></#macro>

View File

@@ -0,0 +1 @@
Shows all or one value of the bots configuration.

View File

@@ -0,0 +1,2 @@
This command is used to see the currently applied configuration and default configuration of this server.
If a `key` is provided, this shows one individual configuration and all configuration entries otherwise.

View File

@@ -0,0 +1 @@
The feature to show the configuration for.