diff --git a/packages/discord.js/src/structures/AutoModerationActionExecution.js b/packages/discord.js/src/structures/AutoModerationActionExecution.js index 45c2949ab..d48480330 100644 --- a/packages/discord.js/src/structures/AutoModerationActionExecution.js +++ b/packages/discord.js/src/structures/AutoModerationActionExecution.js @@ -43,8 +43,8 @@ class AutoModerationActionExecution { /** * The id of the message that triggered this action. - * @type {?Snowflake} * This will not be present if the message was blocked or the content was not part of any message. + * @type {?Snowflake} */ this.messageId = data.message_id ?? null; diff --git a/packages/discord.js/src/structures/ModalSubmitFields.js b/packages/discord.js/src/structures/ModalSubmitFields.js index ac2a72fbc..8e67b21d2 100644 --- a/packages/discord.js/src/structures/ModalSubmitFields.js +++ b/packages/discord.js/src/structures/ModalSubmitFields.js @@ -11,13 +11,13 @@ class ModalSubmitFields { constructor(components) { /** * The components within the modal - * @type {ActionRowModalData[]} The components in the modal + * @type {ActionRowModalData[]} */ this.components = components; /** * The extracted fields from the modal - * @type {Collection} The fields in the modal + * @type {Collection} */ this.fields = components.reduce((accumulator, next) => { next.components.forEach(c => accumulator.set(c.customId, c));