We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ff839 commit a54223dCopy full SHA for a54223d
examples/views/new_components.py
@@ -59,7 +59,8 @@ def __init__(self, user: User):
59
@button(label="Delete Message", style=ButtonStyle.red, id=200)
60
async def delete_button(self, button: Button, interaction: Interaction):
61
await interaction.response.defer(invisible=True)
62
- await interaction.delete_original_response()
+ await interaction.message.delete()
63
+
64
65
async def on_timeout(self):
66
self.get_item(200).disabled = True
0 commit comments