Skip to content

Commit

Permalink
fix(Message): construct interaction metadata construction (#185)
Browse files Browse the repository at this point in the history
This unfortunately broke Message construction entirely, so this is
released as a hotfix
  • Loading branch information
TTtie authored Nov 19, 2024
1 parent 710917b commit 36da766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 36da766

Please sign in to comment.