[commands] Fix Context.send_help to work with the copied HelpCommand
This commit is contained in:
parent
ad5beed8dd
commit
05d4f7f962
@ -261,6 +261,8 @@ class Context(discord.abc.Messageable):
|
|||||||
if cmd is None:
|
if cmd is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
cmd = cmd.copy()
|
||||||
|
cmd.context = self
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
await cmd.prepare_help_command(self, None)
|
await cmd.prepare_help_command(self, None)
|
||||||
mapping = cmd.get_bot_mapping()
|
mapping = cmd.get_bot_mapping()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user