[AB-247] adding templates for levelRoles command

adding templates for experience role not found exception
fixing layout for help command detail response with validators
This commit is contained in:
Sheldan
2021-05-26 00:55:04 +02:00
parent f9a83d7b20
commit f0a9d235c2
9 changed files with 16 additions and 3 deletions

View File

@@ -57,7 +57,9 @@
<#if command.parameters??>
<#list command.parameters as parameter><#assign parameter=parameter>
<@safe_include "help_command_embed_command_description"/> `${parameter.name?json_string}`: <#if parameter.templated?? && parameter.templated><@safe_include "${command.name}_parameter_${parameter.name}"/><#else>${(parameter.description?json_string)!""}</#if> <@safe_include "help_command_embed_command_optional"/>
<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/></#list>
<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/>
</#list>
<#sep>
<#else>
<@safe_include "help_command_embed_command_no_parameters"/>