Skip to content

Commit

Permalink
docs: make interactionResponse as optional (#9179)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaw0r3k committed Feb 27, 2023
1 parent 27e0b32 commit 664cccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/InteractionCollector.js
Expand Up @@ -14,7 +14,7 @@ const Events = require('../util/Events');
* @property {number} [maxComponents] The maximum number of components to collect
* @property {number} [maxUsers] The maximum number of users to interact
* @property {Message|APIMessage} [message] The message to listen to interactions from
* @property {InteractionResponse} interactionResponse The interaction response to listen
* @property {InteractionResponse} [interactionResponse] The interaction response to listen
* to message component interactions from
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Message.js
Expand Up @@ -568,7 +568,7 @@ class Message extends Base {
* @property {ComponentType} [componentType] The type of component interaction to collect
* @property {number} [idle] Time to wait without another message component interaction before ending the collector
* @property {boolean} [dispose] Whether to remove the message component interaction after collecting
* @property {InteractionResponse} [InteractionResponse] The interaction response to collect interactions from
* @property {InteractionResponse} [interactionResponse] The interaction response to collect interactions from
*/

/**
Expand Down

2 comments on commit 664cccb

@vercel
Copy link

@vercel vercel bot commented on 664cccb Feb 27, 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 664cccb Feb 27, 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.