From f256e61ead908239fd1f8ad2724b612e0b75925c Mon Sep 17 00:00:00 2001 From: Ali Hammoud Date: Tue, 28 Oct 2025 11:39:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20remove=2010=20messages=20?= =?UTF-8?q?restriction=20when=20deleting=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/moderation/repel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/moderation/repel.ts b/src/commands/moderation/repel.ts index a52fe91..23fe55a 100644 --- a/src/commands/moderation/repel.ts +++ b/src/commands/moderation/repel.ts @@ -161,7 +161,7 @@ const handleDeleteMessages = async ({ Date.now() - message.createdTimestamp < lookBack ); }) - .first(10); + .map((msg) => msg.id); if (targetMessages.length === 0) { return;