mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
docs(InteractionCollector): remove repeated "the" (#6802)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user