From 2a1dc8a069c6e44f6c7d79565aa7c822f7e7b368 Mon Sep 17 00:00:00 2001 From: Gnome Date: Sat, 4 Sep 2021 20:57:29 +0100 Subject: [PATCH] Fix ctx.reply in slash command context --- discord/ext/commands/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py index 2e05208c..800c5d7a 100644 --- a/discord/ext/commands/context.py +++ b/discord/ext/commands/context.py @@ -475,4 +475,4 @@ class Context(discord.abc.Messageable, Generic[BotT]): @discord.utils.copy_doc(Message.reply) async def reply(self, content: Optional[str] = None, **kwargs: Any) -> Message: - return await self.message.reply(content, **kwargs) + return await self.send(content, reference=self.message, **kwargs) # type: ignore