mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-08 18:34:03 +00:00
[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:
@@ -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"/>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
<#include "success_color">,
|
||||
"description": "<#list levelRoles as role><#if role.role??><#assign roleRepr=role.role.asMention><#else><#assign roleRepr=role.roleId?c></#if><#assign levelRepr=role.level><@safe_include "levelRoles_response_description"/><#sep>
|
||||
<#else><@safe_include "levelRoles_no_roles_found"/></#list>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "experience_role_not_found_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
Shows the role level configuration for this server
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current configuration at which level which role is awarded
|
||||
@@ -0,0 +1 @@
|
||||
No roles found.
|
||||
@@ -0,0 +1 @@
|
||||
Level ${levelRepr} - ${roleRepr}
|
||||
@@ -1,2 +1,2 @@
|
||||
This causes the given role to be awarded at the given level. This will remove previously levels this role was assigned to, and also recalculate the users of the previous levels.
|
||||
This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRole`.
|
||||
This causes the given role to be awarded at the given level. This will remove previous levels this role was assigned to, and also remove any role which is currently assigned to the given level.
|
||||
This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRoles`.
|
||||
@@ -0,0 +1 @@
|
||||
Role is not part of the experience system.
|
||||
Reference in New Issue
Block a user