From 452dec57ca422f5e7424a0f0e78c3e152717f413 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sun, 17 Jul 2022 20:13:54 +0100 Subject: [PATCH] docs: Remove `@private` constructor documentation (#8255) --- packages/discord.js/src/structures/Component.js | 5 ----- packages/discord.js/src/structures/InteractionResponse.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/packages/discord.js/src/structures/Component.js b/packages/discord.js/src/structures/Component.js index f8251c517..10ba27d05 100644 --- a/packages/discord.js/src/structures/Component.js +++ b/packages/discord.js/src/structures/Component.js @@ -6,11 +6,6 @@ const isEqual = require('fast-deep-equal'); * Represents a component */ class Component { - /** - * Creates a new component from API data - * @param {APIMessageComponent} data The API component data - * @private - */ constructor(data) { /** * The API data associated with this component diff --git a/packages/discord.js/src/structures/InteractionResponse.js b/packages/discord.js/src/structures/InteractionResponse.js index 9ea8ee541..b56a7f63a 100644 --- a/packages/discord.js/src/structures/InteractionResponse.js +++ b/packages/discord.js/src/structures/InteractionResponse.js @@ -7,11 +7,6 @@ const { ErrorCodes } = require('../errors'); * Represents an interaction's response */ class InteractionResponse { - /** - * @param {BaseInteraction} interaction The interaction associated with this response - * @param {Snowflake?} id The interaction id associated with the original response - * @private - */ constructor(interaction, id) { /** * The interaction associated with the interaction response