From d1cb30cccf39648e21c0f7c73cb087fc730b8e25 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 26 Nov 2020 23:19:00 -0500 Subject: Implement discord.Message.reply --- discord/ext/commands/context.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'discord/ext') 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__ -- cgit v1.2.3