fix: fix external links (#9313)

* fix: fix external links

* fix: fix external links

* fix: link to correct classes

* fix: fix JSONEncodable link

* chore: fix select menu link

* fix: fix external links

* fix: link to correct classes

* fix: fix JSONEncodable link

* chore: fix select menu link

* fix: fix collection#sweep url

* fix: fix subpackages urls

* fix: fix discord.js docs url

* Update packages/util/docs/README.md

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
Tetie 2023-04-07 12:35:56 +02:00 committed by GitHub
parent c519fe66c9
commit a7425c29c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 29 additions and 29 deletions

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/brokers)
## [View the documentation here.](https://discord.js.org/docs/packages/brokers/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/builders)
## [View the documentation here.](https://discord.js.org/docs/packages/builders/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/collection)
## [View the documentation here.](https://discord.js.org/docs/packages/collection/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs)
## [View the documentation here.](https://discord.js.org/docs/packages/discord.js/main)

View file

@ -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/REST:Class}
*/

View file

@ -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/Collection:Class}
*/
/**
* @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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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/StringSelectMenuBuilder:Class}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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}
*/

View file

@ -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/util/main/JSONEncodable:Interface}
*/

View file

@ -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}
*/

View file

@ -8,7 +8,7 @@ const { DiscordjsTypeError, ErrorCodes } = require('../errors');
/**
* @typedef {Function} GlobalSweepFilter
* @returns {Function|null} Return `null` to skip sweeping, otherwise a function passed to `sweep()`,
* See {@link [Collection#sweep](https://discord.js.org/#/docs/collection/main/class/Collection?scrollTo=sweep)}
* See {@link [Collection#sweep](https://discord.js.org/docs/packages/collection/main/Collection:Class#sweep)}
* for the definition of this function.
*/

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/proxy)
## [View the documentation here.](https://discord.js.org/docs/packages/proxy/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/rest)
## [View the documentation here.](https://discord.js.org/docs/packages/rest/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/rest)
## [View the documentation here.](https://discord.js.org/docs/packages/util/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/voice)
## [View the documentation here.](https://discord.js.org/docs/packages/voice/main)

View file

@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/ws)
## [View the documentation here.](https://discord.js.org/docs/packages/ws/main)