aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-03-20 23:29:04 -0400
committerRapptz <[email protected]>2019-03-20 23:29:04 -0400
commitd48a424f6f464044a59275d5e885b493a4a1aef7 (patch)
treeeb7b0035a351e2e731b485300ff90d2f0fd547b4 /docs
parentAdd back PartialEmoji.__hash__ that was deleted due to __eq__. (diff)
downloaddiscord.py-d48a424f6f464044a59275d5e885b493a4a1aef7.tar.xz
discord.py-d48a424f6f464044a59275d5e885b493a4a1aef7.zip
Fix mistake in documentation.
Diffstat (limited to 'docs')
-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):