mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 16:51:59 +00:00
[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:
|
||||
return None
|
||||
|
||||
cmd = cmd.copy()
|
||||
cmd.context = self
|
||||
if len(args) == 0:
|
||||
await cmd.prepare_help_command(self, None)
|
||||
mapping = cmd.get_bot_mapping()
|
||||
|
Loading…
x
Reference in New Issue
Block a user