From 2e9b190b3baa3614b898d0953be9d50ac916267e Mon Sep 17 00:00:00 2001 From: Monbrey Date: Thu, 12 Aug 2021 19:53:28 +1000 Subject: [PATCH] fix: message option not being stored as raw value --- 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], }); }