Fix trahison

This commit is contained in:
Yohann D'ANELLO 2021-10-26 20:05:43 +02:00
parent 7dc712277a
commit 8c78d1c968
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -48,7 +48,7 @@ class Confirm(disnake.ui.View):
@disnake.ui.button(label="Trahir", style=disnake.ButtonStyle.red)
async def cancel(self, button: disnake.ui.Button, interaction: disnake.MessageInteraction):
self.clear_items()
await interaction.response.edit_message("Vous avez trahi.", view=self)
await interaction.response.edit_message(content="Vous avez trahi.", view=self)
self.stop()