From 596b23d232b1eb95c891a94bd0119ab0ac980b89 Mon Sep 17 00:00:00 2001 From: Gylfirst Date: Fri, 29 Mar 2024 14:11:59 +0100 Subject: [PATCH] fix bug from delete until here --- commands/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc.py b/commands/misc.py index 7dae43b..89821b9 100644 --- a/commands/misc.py +++ b/commands/misc.py @@ -75,4 +75,4 @@ def is_msg(msg: discord.Message) -> bool: return (message.id >> 22) <= (msg.id >> 22) <= (last_id >> 22) del_msg = await message.channel.purge(bulk=True, reason="Admin used bulk delete", check=is_msg) - await interaction.followup.send(f"{len(del_msg)} messages supprimés !", ephemeral=True, delete_after=5) + await interaction.followup.send(f"{len(del_msg)} messages supprimés !", delete_after=5)