Skip to content

Commit

Permalink
fix bug from delete until here
Browse files Browse the repository at this point in the history
  • Loading branch information
gylfirst committed Mar 29, 2024
1 parent ced2d8a commit 596b23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 596b23d

Please sign in to comment.