From b1b9c83df0683ac3780316ec62b9621571102613 Mon Sep 17 00:00:00 2001 From: Brage <37003366+hellobafu@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:54:16 +0200 Subject: [PATCH] docs(InteractionCollector): remove repeated "the" (#6802) --- src/client/websocket/WebSocketShard.js | 2 +- src/structures/GuildChannel.js | 2 +- src/structures/InteractionCollector.js | 4 ++-- src/structures/ReactionCollector.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/websocket/WebSocketShard.js b/src/client/websocket/WebSocketShard.js index c427a4253..425e561f6 100644 --- a/src/client/websocket/WebSocketShard.js +++ b/src/client/websocket/WebSocketShard.js @@ -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) { diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 52e8adb69..b12b4ee55 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -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 diff --git a/src/structures/InteractionCollector.js b/src/structures/InteractionCollector.js index 7ed7800c1..4a87ccf3b 100644 --- a/src/structures/InteractionCollector.js +++ b/src/structures/InteractionCollector.js @@ -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 = diff --git a/src/structures/ReactionCollector.js b/src/structures/ReactionCollector.js index f52410524..e7701ce66 100644 --- a/src/structures/ReactionCollector.js +++ b/src/structures/ReactionCollector.js @@ -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