From d9456a1a76e66bc2bfffa4a4b1dd228132056e9f Mon Sep 17 00:00:00 2001 From: monbrey Date: Thu, 12 Aug 2021 20:38:42 +1000 Subject: [PATCH] fix(ContextMenuInteractin): store message as raw value (#6400) --- src/structures/ContextMenuInteraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ContextMenuInteraction.js b/src/structures/ContextMenuInteraction.js index c69d775f349d..8754eda1cb81 100644 --- a/src/structures/ContextMenuInteraction.js +++ b/src/structures/ContextMenuInteraction.js @@ -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], }); }