mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
docs: no @type description and reveal info block (#9097)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user