mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13: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',
|
name: 'message',
|
||||||
type: '_MESSAGE',
|
type: '_MESSAGE',
|
||||||
value: target_id,
|
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