Skip to content

Commit

Permalink
fix(ContextMenuInteractin): store message as raw value (#6400)
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey committed Aug 12, 2021
1 parent cd40292 commit d9456a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/ContextMenuInteraction.js
Expand Up @@ -50,7 +50,7 @@ class ContextMenuInteraction extends BaseCommandInteraction {
name: 'message',
type: '_MESSAGE',
value: target_id,
message: this.channel?.messages._add(resolved.messages[target_id]),
message: this.channel?.messages._add(resolved.messages[target_id]) ?? resolved.messages[target_id],
});
}

Expand Down

0 comments on commit d9456a1

Please sign in to comment.