aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/migrating.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst
index 9ea0e5f0..0b2e0765 100644
--- a/docs/migrating.rst
+++ b/docs/migrating.rst
@@ -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):