From 405f9400e8e3ffea9f3847ab5abb431a34538a96 Mon Sep 17 00:00:00 2001
From: Jiralite <33201955+Jiralite@users.noreply.github.com>
Date: Sat, 4 Feb 2023 13:05:09 +0000
Subject: [PATCH] docs: no `@type` description and reveal info block (#9097)
---
.../src/structures/AutoModerationActionExecution.js | 2 +-
packages/discord.js/src/structures/ModalSubmitFields.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
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));