Skip to content

Commit

Permalink
docs: no @type description and reveal info block (#9097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Feb 4, 2023
1 parent 8b70f49 commit 405f940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -43,8 +43,8 @@ class AutoModerationActionExecution {

/**
* 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>
* @type {?Snowflake}
*/
this.messageId = data.message_id ?? null;

Expand Down
4 changes: 2 additions & 2 deletions packages/discord.js/src/structures/ModalSubmitFields.js
Expand Up @@ -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<string, ModalData>} The fields in the modal
* @type {Collection<string, ModalData>}
*/
this.fields = components.reduce((accumulator, next) => {
next.components.forEach(c => accumulator.set(c.customId, c));
Expand Down

2 comments on commit 405f940

@vercel
Copy link

@vercel vercel bot commented on 405f940 Feb 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 405f940 Feb 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.