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 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/discord.js/src/client/BaseClient.js
Original file line number Diff line number Diff line change
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}
TetieWasTaken marked this conversation as resolved.
Show resolved Hide resolved
*/
6 changes: 3 additions & 3 deletions packages/discord.js/src/client/Client.js
Original file line number Diff line number Diff line change
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}
TetieWasTaken marked this conversation as resolved.
Show resolved Hide resolved
*/

/**
* @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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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}
*/
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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}
*/
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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}
*/
Original file line number Diff line number Diff line change
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}
*/
Original file line number Diff line number Diff line change
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/SelectMenuBuilder:Class}
TetieWasTaken marked this conversation as resolved.
Show resolved Hide resolved
*/
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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}
*/
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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/builders/main/RawFile:Interface}
TetieWasTaken marked this conversation as resolved.
Show resolved Hide resolved
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Options.js
Original file line number Diff line number Diff line change
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}
*/