[AB-215] adding server specific alias templates

This commit is contained in:
Sheldan
2021-03-28 17:07:33 +02:00
parent 99b631f960
commit 26879b7952
15 changed files with 21 additions and 0 deletions

View File

@@ -23,6 +23,9 @@
<#if command.aliases?? && command.aliases?size gt 0>
<@safe_include "help_command_embed_command_aliases"/>: `${command.aliases?join("`, `")?js_string}`
</#if>
<#if serverSpecificAliases?size gt 0>
<@safe_include "help_command_embed_command_server_aliases"/>: `${serverSpecificAliases?join("`, `")?js_string}`
</#if>
<#if restricted?? && restricted>
<@safe_include "help_command_embed_command_executable_by"/>:<#if allowedRoles??> <#list allowedRoles as allowedRole> ${allowedRole.asMention?js_string}<#sep><@safe_include "help_command_embed_or"/><#else><@safe_include "help_command_embed_command_executable_by_nobody"/></#list> </#if>
<#if immuneRoles?? ><@safe_include "help_command_embed_command_immune"/>: <#list immuneRoles as immuneRole> ${immuneRole.asMention?js_string}<#sep><@safe_include "help_command_embed_or"/><#else><@safe_include "help_command_embed_command_immune_none"/></#list> </#if>

View File

@@ -0,0 +1,2 @@
<#assign existingCommandName=model.existingCommand>
<#include "command_in_server_alias_already_exists_exception_text">

View File

@@ -0,0 +1,2 @@
<#assign existingCommandName=model.existingCommand>
<#include "command_in_server_alias_hides_command_exception_text">

View File

@@ -0,0 +1 @@
<#include "command_in_server_alias_not_exists_exists_exception">