From c610b183f7e38f5aac1869e3713dcca59313347f Mon Sep 17 00:00:00 2001 From: socram03 Date: Mon, 1 Aug 2022 14:26:54 -0400 Subject: [PATCH] fix(core): Message.edit resolve ids --- packages/core/src/structures/message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/structures/message.ts b/packages/core/src/structures/message.ts index f26073f..0459487 100644 --- a/packages/core/src/structures/message.ts +++ b/packages/core/src/structures/message.ts @@ -415,7 +415,7 @@ export class Message implements Model { /** Edits the current message */ async edit(options: EditMessage): Promise { const message = await this.session.rest.patch( - CHANNEL_MESSAGE(this.id, this.channelId), + CHANNEL_MESSAGE(this.channelId, this.id), { content: options.content, allowed_mentions: {