Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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