fix(ContextMenuInteractin): store message as raw value (#6400)

This commit is contained in:
monbrey
2021-08-12 20:38:42 +10:00
committed by GitHub
parent cd4029218f
commit d9456a1a76

View File

@@ -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],
});
}