docs(InteractionCollector): remove repeated "the" (#6802)

This commit is contained in:
Brage
2021-10-11 13:54:16 +02:00
committed by GitHub
parent bfb89de864
commit b1b9c83df0
4 changed files with 5 additions and 5 deletions

View File

@@ -495,7 +495,7 @@ class WebSocketShard extends EventEmitter {
/**
* Sets the HELLO packet timeout.
* @param {number} [time] If set to -1, it will clear the hello timeout timeout
* @param {number} [time] If set to -1, it will clear the hello timeout
* @private
*/
setHelloTimeout(time) {

View File

@@ -259,7 +259,7 @@ class GuildChannel extends Channel {
* The data for a guild channel.
* @typedef {Object} ChannelData
* @property {string} [name] The name of the channel
* @property {ChannelType} [type] The type of the the channel (only conversion between text and news is supported)
* @property {ChannelType} [type] The type of the channel (only conversion between text and news is supported)
* @property {number} [position] The position of the channel
* @property {string} [topic] The topic of the text channel
* @property {boolean} [nsfw] Whether the channel is NSFW

View File

@@ -57,7 +57,7 @@ class InteractionCollector extends Collector {
this.client.guilds.resolveId(options.guild);
/**
* The the type of interaction to collect
* The type of interaction to collect
* @type {?InteractionType}
*/
this.interactionType =
@@ -66,7 +66,7 @@ class InteractionCollector extends Collector {
: options.interactionType ?? null;
/**
* The the type of component to collect
* The type of component to collect
* @type {?MessageComponentType}
*/
this.componentType =

View File

@@ -69,7 +69,7 @@ class ReactionCollector extends Collector {
this.on('collect', (reaction, user) => {
/**
* Emitted whenever a reaction is newly created on a message. Will emit only when a new reaction is
* added to the message, as opposed to {@link Collector#collect} which which will
* added to the message, as opposed to {@link Collector#collect} which will
* be emitted even when a reaction has already been added to the message.
* @event ReactionCollector#create
* @param {MessageReaction} reaction The reaction that was added