mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-06 20:07:17 +00:00
Fix mistake in documentation.
This commit is contained in:
parent
72b6b67cf4
commit
d48a424f6f
@ -985,7 +985,7 @@ For example, to implement a :class:`~.commands.HelpCommand` in a cog, the follow
|
||||
|
||||
class MyHelpCommand(commands.MinimalHelpCommand):
|
||||
def get_command_signature(self, command):
|
||||
return '{0.context.clean_prefix}{1.qualified_name} {1.signature}'.format(self, command)
|
||||
return '{0.clean_prefix}{1.qualified_name} {1.signature}'.format(self, command)
|
||||
|
||||
class MyCog(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
|
Loading…
x
Reference in New Issue
Block a user