Fix trahison
This commit is contained in:
parent
7dc712277a
commit
8c78d1c968
2
bot.py
2
bot.py
|
@ -48,7 +48,7 @@ class Confirm(disnake.ui.View):
|
||||||
@disnake.ui.button(label="Trahir", style=disnake.ButtonStyle.red)
|
@disnake.ui.button(label="Trahir", style=disnake.ButtonStyle.red)
|
||||||
async def cancel(self, button: disnake.ui.Button, interaction: disnake.MessageInteraction):
|
async def cancel(self, button: disnake.ui.Button, interaction: disnake.MessageInteraction):
|
||||||
self.clear_items()
|
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()
|
self.stop()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue