diff options
| author | PikalaxALT <[email protected]> | 2020-11-26 23:19:00 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-26 23:19:00 -0500 |
| commit | d1cb30cccf39648e21c0f7c73cb087fc730b8e25 (patch) | |
| tree | 4c8d111160fca9663739aab47bc93493c673902d /discord/ext | |
| parent | Fix `discord.RoleTags` resolution (diff) | |
| download | discord.py-d1cb30cccf39648e21c0f7c73cb087fc730b8e25.tar.xz discord.py-d1cb30cccf39648e21c0f7c73cb087fc730b8e25.zip | |
Implement discord.Message.reply
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/commands/context.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py index 3cf851c6..d129e819 100644 --- a/discord/ext/commands/context.py +++ b/discord/ext/commands/context.py @@ -322,3 +322,8 @@ class Context(discord.abc.Messageable): return None except CommandError as e: await cmd.on_help_command_error(self, e) + + async def reply(self, content=None, **kwargs): + return await self.message.reply(content, **kwargs) + + reply.__doc__ = discord.Message.reply.__doc__ |