mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fix(ContextMenuInteractin): store message as raw value (#6400)
This commit is contained in:
@@ -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],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user