mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-22 17:45:43 +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">
|
||||
@@ -0,0 +1 @@
|
||||
Creates aliases for commands in this server
|
||||
@@ -0,0 +1,3 @@
|
||||
This command can be used to create aliases for specific commands, which can only be used within this server.
|
||||
The alias behaves the same way as the command and it is not possible to create an alias which has the same name
|
||||
as an existing command or an existing built-in alias.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the alias. Not allowed to be the name of a command or a built-in alias.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the command to create an alias for. Is not allowed to be another alias.
|
||||
@@ -0,0 +1 @@
|
||||
Deletes a server specific alias
|
||||
@@ -0,0 +1 @@
|
||||
This command can be used to remove an alias from the server.
|
||||
@@ -0,0 +1 @@
|
||||
The alias to delete
|
||||
@@ -0,0 +1 @@
|
||||
Server specific aliases
|
||||
@@ -0,0 +1 @@
|
||||
${existingCommandName} already uses this alias.
|
||||
@@ -0,0 +1 @@
|
||||
${existingCommandName} already exists as command or uses this alias.
|
||||
@@ -0,0 +1 @@
|
||||
Command alias does not exist.
|
||||
Reference in New Issue
Block a user