From bcf0b2fd9b4bf2c8179006efac88b0ec93bad932 Mon Sep 17 00:00:00 2001 From: TetieWasTaken Date: Sun, 2 Apr 2023 11:01:31 +0200 Subject: [PATCH] fix: fix external links --- packages/discord.js/src/client/BaseClient.js | 2 +- packages/discord.js/src/client/Client.js | 6 +++--- packages/discord.js/src/structures/ActionRowBuilder.js | 2 +- packages/discord.js/src/structures/ApplicationCommand.js | 2 +- packages/discord.js/src/structures/ButtonBuilder.js | 2 +- .../discord.js/src/structures/ChannelSelectMenuBuilder.js | 2 +- packages/discord.js/src/structures/EmbedBuilder.js | 2 +- .../src/structures/MentionableSelectMenuBuilder.js | 2 +- packages/discord.js/src/structures/MessagePayload.js | 2 +- packages/discord.js/src/structures/ModalBuilder.js | 2 +- packages/discord.js/src/structures/RoleSelectMenuBuilder.js | 2 +- .../discord.js/src/structures/StringSelectMenuBuilder.js | 2 +- .../src/structures/StringSelectMenuOptionBuilder.js | 2 +- packages/discord.js/src/structures/TextInputBuilder.js | 2 +- packages/discord.js/src/structures/UserSelectMenuBuilder.js | 2 +- packages/discord.js/src/util/Components.js | 2 +- packages/discord.js/src/util/Options.js | 2 +- 17 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/discord.js/src/client/BaseClient.js b/packages/discord.js/src/client/BaseClient.js index 3020db823af3..ba1afd78181a 100644 --- a/packages/discord.js/src/client/BaseClient.js +++ b/packages/discord.js/src/client/BaseClient.js @@ -77,5 +77,5 @@ module.exports = BaseClient; /** * @external REST - * @see {@link https://discord.js.org/#/docs/rest/main/class/REST} + * @see {@link https://discord.js.org/docs/packages/rest/main} */ diff --git a/packages/discord.js/src/client/Client.js b/packages/discord.js/src/client/Client.js index 2263e969c75b..1c4557bc2f2d 100644 --- a/packages/discord.js/src/client/Client.js +++ b/packages/discord.js/src/client/Client.js @@ -544,15 +544,15 @@ module.exports = Client; /** * @external Collection - * @see {@link https://discord.js.org/#/docs/collection/main/class/Collection} + * @see {@link https://discord.js.org/docs/packages/collection/main} */ /** * @external ImageURLOptions - * @see {@link https://discord.js.org/#/docs/rest/main/typedef/ImageURLOptions} + * @see {@link https://discord.js.org/docs/packages/rest/main/ImageURLOptions:Interface} */ /** * @external BaseImageURLOptions - * @see {@link https://discord.js.org/#/docs/rest/main/typedef/BaseImageURLOptions} + * @see {@link https://discord.js.org/docs/packages/rest/main/BaseImageURLOptions:Interface} */ diff --git a/packages/discord.js/src/structures/ActionRowBuilder.js b/packages/discord.js/src/structures/ActionRowBuilder.js index eb5f27630a61..31c30643e5bf 100644 --- a/packages/discord.js/src/structures/ActionRowBuilder.js +++ b/packages/discord.js/src/structures/ActionRowBuilder.js @@ -34,5 +34,5 @@ module.exports = ActionRowBuilder; /** * @external BuildersActionRow - * @see {@link https://discord.js.org/#/docs/builders/main/class/ActionRowBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/ActionRowBuilder:Class} */ diff --git a/packages/discord.js/src/structures/ApplicationCommand.js b/packages/discord.js/src/structures/ApplicationCommand.js index 949a08a68ce9..6f9ea3c337f0 100644 --- a/packages/discord.js/src/structures/ApplicationCommand.js +++ b/packages/discord.js/src/structures/ApplicationCommand.js @@ -602,5 +602,5 @@ module.exports = ApplicationCommand; /** * @external ApplicationCommandOptionAllowedChannelTypes - * @see {@link https://discord.js.org/#/docs/builders/main/typedef/ApplicationCommandOptionAllowedChannelTypes} + * @see {@link https://discord.js.org/docs/packages/builders/main/ApplicationCommandOptionAllowedChannelTypes:TypeAlias} */ diff --git a/packages/discord.js/src/structures/ButtonBuilder.js b/packages/discord.js/src/structures/ButtonBuilder.js index a32bf0015347..647feef519bb 100644 --- a/packages/discord.js/src/structures/ButtonBuilder.js +++ b/packages/discord.js/src/structures/ButtonBuilder.js @@ -42,5 +42,5 @@ module.exports = ButtonBuilder; /** * @external BuildersButton - * @see {@link https://discord.js.org/#/docs/builders/main/class/ButtonBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/ButtonBuilder:Class} */ diff --git a/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js b/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js index 324f70b3e27f..29ef31baeba2 100644 --- a/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js @@ -29,5 +29,5 @@ module.exports = ChannelSelectMenuBuilder; /** * @external BuildersChannelSelectMenu - * @see {@link https://discord.js.org/#/docs/builders/main/class/ChannelSelectMenuBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/ChannelSelectMenuBuilder:Class} */ diff --git a/packages/discord.js/src/structures/EmbedBuilder.js b/packages/discord.js/src/structures/EmbedBuilder.js index 58d5c210436c..571fb6e6cc49 100644 --- a/packages/discord.js/src/structures/EmbedBuilder.js +++ b/packages/discord.js/src/structures/EmbedBuilder.js @@ -39,5 +39,5 @@ module.exports = EmbedBuilder; /** * @external BuildersEmbed - * @see {@link https://discord.js.org/#/docs/builders/main/class/EmbedBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/EmbedBuilder:Class} */ diff --git a/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js b/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js index d5673db6865e..0db321923c58 100644 --- a/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js @@ -29,5 +29,5 @@ module.exports = MentionableSelectMenuBuilder; /** * @external BuildersMentionableSelectMenu - * @see {@link https://discord.js.org/#/docs/builders/main/class/MentionableSelectMenuBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/MentionableSelectMenuBuilder:Class} */ diff --git a/packages/discord.js/src/structures/MessagePayload.js b/packages/discord.js/src/structures/MessagePayload.js index 6bcac122a235..372c1cf4b375 100644 --- a/packages/discord.js/src/structures/MessagePayload.js +++ b/packages/discord.js/src/structures/MessagePayload.js @@ -297,5 +297,5 @@ module.exports = MessagePayload; /** * @external RawFile - * @see {@link https://discord.js.org/#/docs/rest/main/typedef/RawFile} + * @see {@link https://discord.js.org/docs/packages/rest/main/RawFile:Interface} */ diff --git a/packages/discord.js/src/structures/ModalBuilder.js b/packages/discord.js/src/structures/ModalBuilder.js index 84ddfbea29c4..dc14012f6cc6 100644 --- a/packages/discord.js/src/structures/ModalBuilder.js +++ b/packages/discord.js/src/structures/ModalBuilder.js @@ -32,5 +32,5 @@ module.exports = ModalBuilder; /** * @external BuildersModal - * @see {@link https://discord.js.org/#/docs/builders/main/class/ModalBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/ModalBuilder:Class} */ diff --git a/packages/discord.js/src/structures/RoleSelectMenuBuilder.js b/packages/discord.js/src/structures/RoleSelectMenuBuilder.js index a42b436fa2c8..14e5151c6b65 100644 --- a/packages/discord.js/src/structures/RoleSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/RoleSelectMenuBuilder.js @@ -29,5 +29,5 @@ module.exports = RoleSelectMenuBuilder; /** * @external BuildersRoleSelectMenu - * @see {@link https://discord.js.org/#/docs/builders/main/class/RoleSelectMenuBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/RoleSelectMenuBuilder:Class} */ diff --git a/packages/discord.js/src/structures/StringSelectMenuBuilder.js b/packages/discord.js/src/structures/StringSelectMenuBuilder.js index 3dd645e3cb53..ddcb1f5ba1c1 100644 --- a/packages/discord.js/src/structures/StringSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/StringSelectMenuBuilder.js @@ -74,5 +74,5 @@ module.exports = StringSelectMenuBuilder; /** * @external BuildersSelectMenu - * @see {@link https://discord.js.org/#/docs/builders/main/class/SelectMenuBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/SelectMenuBuilder:Class} */ diff --git a/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js b/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js index f5fa6d9e6884..8e1cad8c2e1f 100644 --- a/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js +++ b/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js @@ -47,5 +47,5 @@ module.exports = StringSelectMenuOptionBuilder; /** * @external BuildersSelectMenuOption - * @see {@link https://discord.js.org/#/docs/builders/main/class/SelectMenuOptionBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/SelectMenuOptionBuilder:Class} */ diff --git a/packages/discord.js/src/structures/TextInputBuilder.js b/packages/discord.js/src/structures/TextInputBuilder.js index a30b3689b701..4d07735cb868 100644 --- a/packages/discord.js/src/structures/TextInputBuilder.js +++ b/packages/discord.js/src/structures/TextInputBuilder.js @@ -29,5 +29,5 @@ module.exports = TextInputBuilder; /** * @external BuildersTextInput - * @see {@link https://discord.js.org/#/docs/builders/main/class/TextInputBuilder} + * @see {@link https://discord.js.org/docs/packages/builders/main/TextInputBuilder:Class} */ diff --git a/packages/discord.js/src/structures/UserSelectMenuBuilder.js b/packages/discord.js/src/structures/UserSelectMenuBuilder.js index 39db60fff326..fab93f6b9f97 100644 --- a/packages/discord.js/src/structures/UserSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/UserSelectMenuBuilder.js @@ -29,5 +29,5 @@ module.exports = UserSelectMenuBuilder; /** * @external BuildersUserSelectMenu - * @see {@link https://discord.js.org/#/docs/builders/main/class/UserSelectMenuBuilder} + * @see {@link https://discord.js.org/docs/packages/rest/main/UserSelectMenuBuilder:Class} */ diff --git a/packages/discord.js/src/util/Components.js b/packages/discord.js/src/util/Components.js index 42bee7f2afa0..fcf31f797efc 100644 --- a/packages/discord.js/src/util/Components.js +++ b/packages/discord.js/src/util/Components.js @@ -153,5 +153,5 @@ const UserSelectMenuComponent = require('../structures/UserSelectMenuComponent') /** * @external JSONEncodable - * @see {@link https://discord.js.org/#/docs/builders/main/typedef/JSONEncodable} + * @see {@link https://discord.js.org/docs/packages/builders/main/RawFile:Interface} */ diff --git a/packages/discord.js/src/util/Options.js b/packages/discord.js/src/util/Options.js index 52a756e9446c..0602c3d3abd6 100644 --- a/packages/discord.js/src/util/Options.js +++ b/packages/discord.js/src/util/Options.js @@ -198,5 +198,5 @@ module.exports = Options; /** * @external RESTOptions - * @see {@link https://discord.js.org/#/docs/rest/main/typedef/RESTOptions} + * @see {@link https://discord.js.org/docs/packages/rest/main/RESTOptions:Interface} */