docs: Fix deprecated links (#8907)

docs: fix malformed deprecated descriptions

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Jiralite
2022-12-06 16:30:48 +00:00
committed by GitHub
parent c48ff5e420
commit 976b234e9d
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ class ActionRow extends Component {
* Creates a new action row builder from JSON data * Creates a new action row builder from JSON data
* @param {JSONEncodable<APIActionRowComponent>|APIActionRowComponent} other The other data * @param {JSONEncodable<APIActionRowComponent>|APIActionRowComponent} other The other data
* @returns {ActionRowBuilder} * @returns {ActionRowBuilder}
* @deprecated Use {@link ActionRowBuilder.from()} instead. * @deprecated Use {@link ActionRowBuilder.from} instead.
*/ */
static from(other) { static from(other) {
if (isJSONEncodable(other)) { if (isJSONEncodable(other)) {

View File

@@ -275,7 +275,7 @@ class BaseInteraction extends Base {
* Indicates whether this interaction is a {@link StringSelectMenuInteraction}. * Indicates whether this interaction is a {@link StringSelectMenuInteraction}.
* @returns {boolean} * @returns {boolean}
* *
* @deprecated Use {@link Interaction#isStringSelectMenu} instead * @deprecated Use {@link BaseInteraction#isStringSelectMenu} instead.
*/ */
isSelectMenu() { isSelectMenu() {
return this.isStringSelectMenu(); return this.isStringSelectMenu();

View File

@@ -1681,7 +1681,7 @@ export class BaseInteraction<Cached extends CacheType = CacheType> extends Base
public isMessageContextMenuCommand(): this is MessageContextMenuCommandInteraction<Cached>; public isMessageContextMenuCommand(): this is MessageContextMenuCommandInteraction<Cached>;
public isModalSubmit(): this is ModalSubmitInteraction<Cached>; public isModalSubmit(): this is ModalSubmitInteraction<Cached>;
public isUserContextMenuCommand(): this is UserContextMenuCommandInteraction<Cached>; public isUserContextMenuCommand(): this is UserContextMenuCommandInteraction<Cached>;
/** @deprecated Use {@link BaseInteraction#isStringSelectMenu} instead */ /** @deprecated Use {@link isStringSelectMenu} instead. */
public isSelectMenu(): this is StringSelectMenuInteraction<Cached>; public isSelectMenu(): this is StringSelectMenuInteraction<Cached>;
public isAnySelectMenu(): this is AnySelectMenuInteraction<Cached>; public isAnySelectMenu(): this is AnySelectMenuInteraction<Cached>;
public isStringSelectMenu(): this is StringSelectMenuInteraction<Cached>; public isStringSelectMenu(): this is StringSelectMenuInteraction<Cached>;