docs: no @type description and reveal info block (#9097)

This commit is contained in:
Jiralite
2023-02-04 13:05:09 +00:00
committed by GitHub
parent 8b70f497a1
commit 405f9400e8
2 changed files with 3 additions and 3 deletions

View File

@@ -43,8 +43,8 @@ class AutoModerationActionExecution {
/** /**
* The id of the message that triggered this action. * The id of the message that triggered this action.
* @type {?Snowflake}
* <info>This will not be present if the message was blocked or the content was not part of any message.</info> * <info>This will not be present if the message was blocked or the content was not part of any message.</info>
* @type {?Snowflake}
*/ */
this.messageId = data.message_id ?? null; this.messageId = data.message_id ?? null;

View File

@@ -11,13 +11,13 @@ class ModalSubmitFields {
constructor(components) { constructor(components) {
/** /**
* The components within the modal * The components within the modal
* @type {ActionRowModalData[]} The components in the modal * @type {ActionRowModalData[]}
*/ */
this.components = components; this.components = components;
/** /**
* The extracted fields from the modal * The extracted fields from the modal
* @type {Collection<string, ModalData>} The fields in the modal * @type {Collection<string, ModalData>}
*/ */
this.fields = components.reduce((accumulator, next) => { this.fields = components.reduce((accumulator, next) => {
next.components.forEach(c => accumulator.set(c.customId, c)); next.components.forEach(c => accumulator.set(c.customId, c));