[docs] copy signature from overridden and inherited methods

This commit is contained in:
Sebastian Law
2021-03-29 20:52:14 -07:00
committed by GitHub
parent 862d509d2e
commit d6501159e7
4 changed files with 17 additions and 18 deletions

View File

@ -335,7 +335,6 @@ class Context(discord.abc.Messageable):
except CommandError as e:
await cmd.on_help_command_error(self, e)
@discord.utils.copy_doc(discord.Message.reply)
async def reply(self, content=None, **kwargs):
return await self.message.reply(content, **kwargs)
reply.__doc__ = discord.Message.reply.__doc__