From 8c78d1c96833a633bb45c9fe4b82a1401341db22 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 26 Oct 2021 20:05:43 +0200 Subject: [PATCH] Fix trahison --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index be096ec..21a7f97 100755 --- a/bot.py +++ b/bot.py @@ -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()