mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-04 15:35:56 +00:00
[AB-215] adding server specific alias templates
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign existingCommandName=model.existingCommand>
|
||||
<#include "command_in_server_alias_already_exists_exception_text">
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign existingCommandName=model.existingCommand>
|
||||
<#include "command_in_server_alias_hides_command_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "command_in_server_alias_not_exists_exists_exception">
|
||||
Reference in New Issue
Block a user