aboutsummaryrefslogtreecommitdiffstats
path: root/botcore
diff options
context:
space:
mode:
Diffstat (limited to 'botcore')
-rw-r--r--botcore/utils/interactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/botcore/utils/interactions.py b/botcore/utils/interactions.py
index 6d632c53..60b8c1f7 100644
--- a/botcore/utils/interactions.py
+++ b/botcore/utils/interactions.py
@@ -83,4 +83,4 @@ class DeleteMessageButton(ui.Button):
async def callback(self, interaction: Interaction) -> None:
"""Delete the original message on button click."""
- await interaction.delete_original_message()
+ await interaction.message.delete()