aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-03-24 14:46:55 -0400
committerRapptz <[email protected]>2019-03-24 14:46:55 -0400
commit43b44751af647ecfcfb17868962972d543eb69a9 (patch)
tree6b19f5c2a41fb12d27abe77815dbaa5591b53e24
parentDouble underscore HTTPClient's internal session. (diff)
downloaddiscord.py-43b44751af647ecfcfb17868962972d543eb69a9.tar.xz
discord.py-43b44751af647ecfcfb17868962972d543eb69a9.zip
[commands] Fix MinimalHelpCommand opening note signature consistency
-rw-r--r--discord/ext/commands/help.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py
index f507d945..686d21f1 100644
--- a/discord/ext/commands/help.py
+++ b/discord/ext/commands/help.py
@@ -1047,13 +1047,13 @@ class MinimalHelpCommand(HelpCommand):
The default implementation returns ::
- Use `{prefix}{command_name} <command>` for more info on a command.
- You can also use `{prefix}{command_name} <category>` for more info on a category.
+ Use `{prefix}{command_name} [command]` for more info on a command.
+ You can also use `{prefix}{command_name} [category]` for more info on a category.
"""
command_name = self.invoked_with
- return "Use `{0}{1} <command>` for more info on a command.\n" \
- "You can also use `{0}{1} <category>` for more info on a category.".format(self.clean_prefix, command_name)
+ return "Use `{0}{1} [command]` for more info on a command.\n" \
+ "You can also use `{0}{1} [category]` for more info on a category.".format(self.clean_prefix, command_name)
def get_command_signature(self, command):
return '%s%s %s' % (self.clean_prefix, command.qualified_name, command.signature)