mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-01 15:28:31 +00:00
[AB-78] adding templates for feature mode changes
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "feature_modes_embed_title"/>"
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
"description": "
|
||||
<#list featureModes as featureMode>
|
||||
<#assign featureName><@safe_include "${featureMode.featureConfig.feature.key}_feature"/></#assign>
|
||||
<#assign featureKey=featureMode.featureConfig.feature.key>
|
||||
<#assign featureModeName=featureMode.featureMode.featureMode.mode>
|
||||
<#assign featureModeEnabled>${featureMode.featureMode.enabled?string('✅', '❌')}</#assign>
|
||||
<#assign defaultText><@safe_include "feature_modes_embed_is_default"/></#assign>
|
||||
<#assign fromDefault>${featureMode.isDefaultValue?string('(' + defaultText + ')', '')}</#assign>
|
||||
<#include "feature_modes_embed_feature_mode_display">
|
||||
|
||||
<#else><@safe_include "feature_modes_embed_no_feature_modes_available"/></#list>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "incorrect_feature_mode_exception"/>"
|
||||
@@ -0,0 +1,4 @@
|
||||
<#assign commandName=model.command.configuration.name/>
|
||||
<#assign featureName=model.featureEnum.key/>
|
||||
<#assign featureModes><#list model.requiredModes as mode>${mode.key}<#sep>,</#list></#assign>
|
||||
<#include "incorrect_feature_mode_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
Disables a feature mode
|
||||
@@ -0,0 +1 @@
|
||||
Features have different modes. These are small flags which dictates how a feature behaves at certain parts and a feature mode of a feature can be disabled wit this command.
|
||||
@@ -0,0 +1 @@
|
||||
The feature to disable the feature mode for.
|
||||
@@ -0,0 +1 @@
|
||||
The key of the mode
|
||||
@@ -0,0 +1 @@
|
||||
Enables a feature mode
|
||||
@@ -0,0 +1 @@
|
||||
Features have different modes. These are small flags which dictates how a feature behaves at certain parts and a feature mode of a feature can be enabled wit this command.
|
||||
@@ -0,0 +1 @@
|
||||
The feature to enable the feature mode for.
|
||||
@@ -0,0 +1 @@
|
||||
The key of the mode
|
||||
@@ -0,0 +1 @@
|
||||
${featureName} (`${featureKey}`) with mode `${featureModeName}`: ${featureModeEnabled} ${fromDefault}
|
||||
@@ -0,0 +1 @@
|
||||
Part of default configuration
|
||||
@@ -0,0 +1 @@
|
||||
No feature modes available.
|
||||
@@ -0,0 +1 @@
|
||||
Currently available feature modes
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current feature mode configuration
|
||||
@@ -0,0 +1,3 @@
|
||||
Shows the currently configured feature modes and their respective configuration: Whether or not they are enabled or not and if they are part of the default configuration.
|
||||
If the current value is part of the default configuration, this means that if the default config is changed, this value changes as well.
|
||||
If its not part of the default configuration, this means that this value was chosen for the server and that it will not be changed if the default configuration changes
|
||||
@@ -0,0 +1 @@
|
||||
The feature to enable the feature mode for.
|
||||
@@ -1 +0,0 @@
|
||||
Changes the mode of a features.
|
||||
@@ -1 +0,0 @@
|
||||
setMode modmail nolog
|
||||
@@ -1 +0,0 @@
|
||||
The features of the bot have different modes. These modes influence how the features behave. With this command you can change the mode of a certain feature in this guild.
|
||||
@@ -1 +0,0 @@
|
||||
The feature to change the mode for.
|
||||
@@ -1 +0,0 @@
|
||||
The internal key of the emote
|
||||
@@ -0,0 +1 @@
|
||||
The current feature mode of feature ${featureName} is incorrect to execute command ${commandName}. One of the following is required: ${featureModes}
|
||||
Reference in New Issue
Block a user