diff --git a/packages/discord.js/src/structures/ActionRow.js b/packages/discord.js/src/structures/ActionRow.js index 67aeebbaa..ac5413821 100644 --- a/packages/discord.js/src/structures/ActionRow.js +++ b/packages/discord.js/src/structures/ActionRow.js @@ -25,7 +25,7 @@ class ActionRow extends Component { * Creates a new action row builder from JSON data * @param {JSONEncodable|APIActionRowComponent} other The other data * @returns {ActionRowBuilder} - * @deprecated Use {@link ActionRowBuilder.from()} instead. + * @deprecated Use {@link ActionRowBuilder.from} instead. */ static from(other) { if (isJSONEncodable(other)) { diff --git a/packages/discord.js/src/structures/BaseInteraction.js b/packages/discord.js/src/structures/BaseInteraction.js index df98cf2e1..44b8a306f 100644 --- a/packages/discord.js/src/structures/BaseInteraction.js +++ b/packages/discord.js/src/structures/BaseInteraction.js @@ -275,7 +275,7 @@ class BaseInteraction extends Base { * Indicates whether this interaction is a {@link StringSelectMenuInteraction}. * @returns {boolean} * - * @deprecated Use {@link Interaction#isStringSelectMenu} instead + * @deprecated Use {@link BaseInteraction#isStringSelectMenu} instead. */ isSelectMenu() { return this.isStringSelectMenu(); diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 72b715e31..321098758 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1681,7 +1681,7 @@ export class BaseInteraction extends Base public isMessageContextMenuCommand(): this is MessageContextMenuCommandInteraction; public isModalSubmit(): this is ModalSubmitInteraction; public isUserContextMenuCommand(): this is UserContextMenuCommandInteraction; - /** @deprecated Use {@link BaseInteraction#isStringSelectMenu} instead */ + /** @deprecated Use {@link isStringSelectMenu} instead. */ public isSelectMenu(): this is StringSelectMenuInteraction; public isAnySelectMenu(): this is AnySelectMenuInteraction; public isStringSelectMenu(): this is StringSelectMenuInteraction;