From 36da7668a28ad94c398fc954ac78c75c46593085 Mon Sep 17 00:00:00 2001 From: TTtie Date: Tue, 19 Nov 2024 21:13:00 +0100 Subject: [PATCH] fix(Message): construct interaction metadata construction (#185) This unfortunately broke Message construction entirely, so this is released as a hotfix --- lib/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/structures/Message.js b/lib/structures/Message.js index 61e1a1a4..605e59dd 100644 --- a/lib/structures/Message.js +++ b/lib/structures/Message.js @@ -162,7 +162,7 @@ class Message extends Base { * An object containing metadata about the interaction the message is responding to, if applicable * @type {InteractionMetadata?} */ - this.interactionMetadata = new InteractionMetadata(data, client); + this.interactionMetadata = new InteractionMetadata(data.interaction_metadata, client); } if(this.channel.guild) {