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;