mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
[commands] add document comment to HelpFormatter.get_ending_note
This commit is contained in:
parent
4e5b4a9b93
commit
262717c7d8
@ -204,6 +204,7 @@ class HelpFormatter:
|
||||
return prefix + cmd.signature
|
||||
|
||||
def get_ending_note(self):
|
||||
"""Returns help command's ending note. You can override this method for customization like i18n."""
|
||||
command_name = self.context.invoked_with
|
||||
return "Type {0}{1} command for more info on a command.\n" \
|
||||
"You can also type {0}{1} category for more info on a category.".format(self.clean_prefix, command_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user