From 6ecd280f54beee8f316b9cde2d9523f193b16171 Mon Sep 17 00:00:00 2001 From: pakkographic <41129374+pakkographic@users.noreply.github.com> Date: Tue, 13 Aug 2024 22:29:54 +0200 Subject: [PATCH] Quick FIx --- lib/routes/Channels.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/routes/Channels.ts b/lib/routes/Channels.ts index bfdc2fc..0bc1775 100644 --- a/lib/routes/Channels.ts +++ b/lib/routes/Channels.ts @@ -1026,7 +1026,6 @@ export class Channels { params?: MessageConstructorParams ): Promise> { if (typeof newMessage !== "object") throw new Error("newMessage should be an object."); - newMessage.replyMessageIDs = [...new Set(newMessage.replyMessageIDs)]; // Remove duplicates. return this.#manager.authRequest({ method: "PUT", path: endpoints.CHANNEL_MESSAGE(channelID, messageID),