mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 21:43:33 +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.
|
* 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
|
* @private
|
||||||
*/
|
*/
|
||||||
setHelloTimeout(time) {
|
setHelloTimeout(time) {
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ class GuildChannel extends Channel {
|
|||||||
* The data for a guild channel.
|
* The data for a guild channel.
|
||||||
* @typedef {Object} ChannelData
|
* @typedef {Object} ChannelData
|
||||||
* @property {string} [name] The name of the channel
|
* @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 {number} [position] The position of the channel
|
||||||
* @property {string} [topic] The topic of the text channel
|
* @property {string} [topic] The topic of the text channel
|
||||||
* @property {boolean} [nsfw] Whether the channel is NSFW
|
* @property {boolean} [nsfw] Whether the channel is NSFW
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class InteractionCollector extends Collector {
|
|||||||
this.client.guilds.resolveId(options.guild);
|
this.client.guilds.resolveId(options.guild);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The the type of interaction to collect
|
* The type of interaction to collect
|
||||||
* @type {?InteractionType}
|
* @type {?InteractionType}
|
||||||
*/
|
*/
|
||||||
this.interactionType =
|
this.interactionType =
|
||||||
@@ -66,7 +66,7 @@ class InteractionCollector extends Collector {
|
|||||||
: options.interactionType ?? null;
|
: options.interactionType ?? null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The the type of component to collect
|
* The type of component to collect
|
||||||
* @type {?MessageComponentType}
|
* @type {?MessageComponentType}
|
||||||
*/
|
*/
|
||||||
this.componentType =
|
this.componentType =
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class ReactionCollector extends Collector {
|
|||||||
this.on('collect', (reaction, user) => {
|
this.on('collect', (reaction, user) => {
|
||||||
/**
|
/**
|
||||||
* Emitted whenever a reaction is newly created on a message. Will emit only when a new reaction is
|
* 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.
|
* be emitted even when a reaction has already been added to the message.
|
||||||
* @event ReactionCollector#create
|
* @event ReactionCollector#create
|
||||||
* @param {MessageReaction} reaction The reaction that was added
|
* @param {MessageReaction} reaction The reaction that was added
|
||||||
|
|||||||
Reference in New Issue
Block a user