From d48a424f6f464044a59275d5e885b493a4a1aef7 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 20 Mar 2019 23:29:04 -0400 Subject: [PATCH] Fix mistake in documentation. --- docs/migrating.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrating.rst b/docs/migrating.rst index 9ea0e5f0a..0b2e0765d 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):