Rename Interaction.original_message to original_response

This commit is contained in:
Rapptz
2022-08-08 05:07:28 -04:00
parent 44abc469f1
commit 9ce1541775
2 changed files with 13 additions and 13 deletions

View File

@ -873,7 +873,7 @@ class Context(discord.abc.Messageable, Generic[BotT]):
msg = await self.interaction.followup.send(**kwargs, wait=True)
else:
await self.interaction.response.send_message(**kwargs)
msg = await self.interaction.original_message()
msg = await self.interaction.original_response()
if delete_after is not None and not (ephemeral and self.interaction is not None):
await msg.delete(delay=delete_after)