[AB-76] removed usage templates for existing commands and changed help template to include the new field

This commit is contained in:
Sheldan
2020-09-24 03:17:30 +02:00
parent e44712c48d
commit 4a0b63723a
92 changed files with 2 additions and 93 deletions
@@ -8,13 +8,13 @@
<#if command.help??> <#if command.help??>
<#if command.help.templated> <#if command.help.templated>
**<@safe_include "help_command_embed_command_usage"/>**: `<@safe_include "${command.name}_usage"/>` **<@safe_include "help_command_embed_command_usage"/>**: `${usage}`
**<@safe_include "help_command_embed_command_detailed_help"/>**: <@safe_include "${command.name}_long_help"/> **<@safe_include "help_command_embed_command_detailed_help"/>**: <@safe_include "${command.name}_long_help"/>
<#if command.help.hasExample> <#if command.help.hasExample>
<@safe_include "help_command_embed_command_example"/>: <@safe_include "${command.name}_example"/> <@safe_include "help_command_embed_command_example"/>: <@safe_include "${command.name}_example"/>
</#if> </#if>
<#else> <#else>
**<@safe_include "help_command_embed_command_usage"/>**: `${command.help.usage?js_string}` **<@safe_include "help_command_embed_command_usage"/>**: `${usage}`
**<@safe_include "help_command_embed_command_detailed_help"/>**: ${command.help.longHelp?js_string} **<@safe_include "help_command_embed_command_detailed_help"/>**: ${command.help.longHelp?js_string}
<#if command.help.hasExample> <#if command.help.hasExample>
<@safe_include "help_command_embed_command_example"/>:${command.help.example?js_string} <@safe_include "help_command_embed_command_example"/>:${command.help.example?js_string}
@@ -1 +0,0 @@
addRoleToAssignableRolePlace <placeName> <emote> <description> <role>
@@ -1 +0,0 @@
changeAssignablePlaceDescription <placeName> <newDescription>
@@ -1 +0,0 @@
changeAssignableRolePlaceConfig <placeName> <key> <newValue>
@@ -1 +0,0 @@
createAssignableRolePlace <name> <channel> <text>
@@ -1 +0,0 @@
moveAssignableRolePlace <placeName> <newChannel>
@@ -1 +0,0 @@
setAssignableRolePosition <placeName> <emote> <newPosition>
@@ -1 +0,0 @@
swapAssignableRolePosition <placeName> <firstEmote> <secondEmote>
@@ -1 +0,0 @@
addToChannelGroup <name> <channel>
@@ -1 +0,0 @@
allow <command/feature>
@@ -1 +0,0 @@
allowRole <command/feature> <role>
@@ -1 +0,0 @@
addToChannelGroup <name> <channel>
@@ -1 +0,0 @@
disAllowRole <command/feature> <role>
@@ -1 +0,0 @@
disable [featureName]
@@ -1 +0,0 @@
disableCommand <commandName> <channelGroupName>
@@ -1 +0,0 @@
enable [featureName]
@@ -1 +0,0 @@
enableCommand <commandName> <channelGroupName>
@@ -1 +0,0 @@
help <module/command>
@@ -1 +0,0 @@
makeAffected <feature/command> <role>
@@ -1 +0,0 @@
makeImmune <feature/command> <role>
@@ -1 +0,0 @@
posttarget <target> <channel>
@@ -1 +0,0 @@
removeFromChannelGroup <name> <channel>
@@ -1 +0,0 @@
restrict <command/feature>
@@ -1 +0,0 @@
setConfig <configKey> <value>
@@ -1 +0,0 @@
setEmote <key> <emote>
@@ -1 +0,0 @@
setMode <feature> <newMode>
@@ -1 +0,0 @@
setPrefix <newPrefix>
@@ -1 +0,0 @@
setup <featureName>
@@ -1 +0,0 @@
ban <user> [reason]
@@ -1 +0,0 @@
banId <userId> [reason]
@@ -1 +0,0 @@
kick <user> [reason]
@@ -1 +0,0 @@
mute <user> <duration> <reason>
@@ -1 +0,0 @@
purge <amount> [member]
@@ -1 +0,0 @@
slowmode <duration> [channel]
@@ -1 +0,0 @@
warn <user> <reason>
@@ -1 +0,0 @@
accept <suggestionId> [reason]
@@ -1 +0,0 @@
reject <suggestionId> [reason]
@@ -1 +0,0 @@
remind <duration> <text>
@@ -1 +0,0 @@
unRemind <reminderId>