diff --git a/src/structures/ModalSubmitInteraction.js b/src/structures/ModalSubmitInteraction.js index 3d7f3a2596c8..306320f29cc3 100644 --- a/src/structures/ModalSubmitInteraction.js +++ b/src/structures/ModalSubmitInteraction.js @@ -48,7 +48,7 @@ class ModalSubmitInteraction extends Interaction { * The message associated with this interaction * @type {Message|APIMessage|null} */ - this.message = this.channel?.messages._add(data.message) ?? data.message ?? null; + this.message = data.message ? this.channel?.messages._add(data.message) ?? data.message : null; /** * The fields within the modal