Skip to content

Commit

Permalink
fix: add components to MessageOption typedefs (#5768)
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey committed Jun 7, 2021
1 parent dec191a commit 657635c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/Message.js
Expand Up @@ -537,6 +537,8 @@ class Message extends Base {
* @property {MessageAttachment[]} [attachments] An array of attachments to keep,
* all attachments will be kept if omitted
* @property {FileOptions[]|BufferResolvable[]|MessageAttachment[]} [files] Files to add to the message
* @property {MessageActionRow[]} [components] Action rows containing interactive components for the message
* (buttons, select menus)
*/

/**
Expand Down
2 changes: 2 additions & 0 deletions src/structures/Webhook.js
Expand Up @@ -101,6 +101,8 @@ class Webhook {
* @property {string} [content] See {@link BaseMessageOptions#content}
* @property {FileOptions[]|BufferResolvable[]|MessageAttachment[]} [files] See {@link BaseMessageOptions#files}
* @property {MessageMentionOptions} [allowedMentions] See {@link BaseMessageOptions#allowedMentions}
* @property {MessageActionRow[]} [components] Action rows containing interactive components for the message
* (buttons, select menus)
*/

/**
Expand Down
2 changes: 2 additions & 0 deletions src/structures/interfaces/TextBasedChannel.js
Expand Up @@ -63,6 +63,8 @@ class TextBasedChannel {
* @property {string|boolean} [code] Language for optional codeblock formatting to apply
* @property {boolean|SplitOptions} [split=false] Whether or not the message should be split into multiple messages if
* it exceeds the character limit. If an object is provided, these are the options for splitting the message
* @property {MessageActionRow[]} [components] Action rows containing interactive components for the message
* (buttons, select menus)
*/

/**
Expand Down

0 comments on commit 657635c

Please sign in to comment.