Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix external links #9313

Merged
merged 18 commits into from Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/discord.js/src/client/BaseClient.js
Expand Up @@ -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}
*/
6 changes: 3 additions & 3 deletions packages/discord.js/src/client/Client.js
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ActionRowBuilder.js
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ApplicationCommand.js
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ButtonBuilder.js
Expand Up @@ -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}
*/
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/EmbedBuilder.js
Expand Up @@ -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}
*/
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/MessagePayload.js
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ModalBuilder.js
Expand Up @@ -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}
*/
Expand Up @@ -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}
*/
Expand Up @@ -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}
*/
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/TextInputBuilder.js
Expand Up @@ -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}
*/
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Components.js
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Options.js
Expand Up @@ -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}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Sweepers.js
Expand Up @@ -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.
*/

Expand Down