docs: make interactionResponse as optional (#9179)

This commit is contained in:
Jaworek
2023-02-27 21:38:03 +01:00
committed by GitHub
parent 27e0b32c5f
commit 664cccb270
2 changed files with 2 additions and 2 deletions

View File

@@ -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
*/

View File

@@ -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
*/
/**