mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 14:54:45 +12:00
docs: fix links in @deprecated tags (#9976)
types: fix links in @deprecated tags
This commit is contained in:
parent
6df233de14
commit
9868772b64
1 changed files with 5 additions and 5 deletions
10
packages/discord.js/typings/index.d.ts
vendored
10
packages/discord.js/typings/index.d.ts
vendored
|
@ -991,7 +991,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
|
||||||
public fetchVoiceRegions(): Promise<Collection<string, VoiceRegion>>;
|
public fetchVoiceRegions(): Promise<Collection<string, VoiceRegion>>;
|
||||||
public fetchSticker(id: Snowflake): Promise<Sticker>;
|
public fetchSticker(id: Snowflake): Promise<Sticker>;
|
||||||
public fetchStickerPacks(): Promise<Collection<Snowflake, StickerPack>>;
|
public fetchStickerPacks(): Promise<Collection<Snowflake, StickerPack>>;
|
||||||
/** @deprecated Use {@link Client#fetchStickerPacks} instead. */
|
/** @deprecated Use {@link Client.fetchStickerPacks} instead. */
|
||||||
public fetchPremiumStickerPacks(): ReturnType<Client['fetchStickerPacks']>;
|
public fetchPremiumStickerPacks(): ReturnType<Client['fetchStickerPacks']>;
|
||||||
public fetchWebhook(id: Snowflake, token?: string): Promise<Webhook>;
|
public fetchWebhook(id: Snowflake, token?: string): Promise<Webhook>;
|
||||||
public fetchGuildWidget(guild: GuildResolvable): Promise<Widget>;
|
public fetchGuildWidget(guild: GuildResolvable): Promise<Widget>;
|
||||||
|
@ -1870,7 +1870,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 BaseInteraction.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>;
|
||||||
|
@ -3065,7 +3065,7 @@ export class TeamMember extends Base {
|
||||||
private constructor(team: Team, data: RawTeamMemberData);
|
private constructor(team: Team, data: RawTeamMemberData);
|
||||||
public team: Team;
|
public team: Team;
|
||||||
public get id(): Snowflake;
|
public get id(): Snowflake;
|
||||||
/** @deprecated Use {@link TeamMember#role} instead. */
|
/** @deprecated Use {@link TeamMember.role} instead. */
|
||||||
public permissions: string[];
|
public permissions: string[];
|
||||||
public membershipState: TeamMemberMembershipState;
|
public membershipState: TeamMemberMembershipState;
|
||||||
public user: User;
|
public user: User;
|
||||||
|
@ -4801,7 +4801,7 @@ export interface AwaitReactionsOptions extends ReactionCollectorOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BanOptions {
|
export interface BanOptions {
|
||||||
/** @deprecated Use {@link BanOptions#deleteMessageSeconds} instead. */
|
/** @deprecated Use {@link BanOptions.deleteMessageSeconds} instead. */
|
||||||
deleteMessageDays?: number;
|
deleteMessageDays?: number;
|
||||||
deleteMessageSeconds?: number;
|
deleteMessageSeconds?: number;
|
||||||
reason?: string;
|
reason?: string;
|
||||||
|
@ -5001,7 +5001,7 @@ export interface ClientEvents {
|
||||||
typingStart: [typing: Typing];
|
typingStart: [typing: Typing];
|
||||||
userUpdate: [oldUser: User | PartialUser, newUser: User];
|
userUpdate: [oldUser: User | PartialUser, newUser: User];
|
||||||
voiceStateUpdate: [oldState: VoiceState, newState: VoiceState];
|
voiceStateUpdate: [oldState: VoiceState, newState: VoiceState];
|
||||||
/** @deprecated Use {@link ClientEvents#webhooksUpdate} instead. */
|
/** @deprecated Use {@link ClientEvents.webhooksUpdate} instead. */
|
||||||
webhookUpdate: ClientEvents['webhooksUpdate'];
|
webhookUpdate: ClientEvents['webhooksUpdate'];
|
||||||
webhooksUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel | MediaChannel];
|
webhooksUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel | MediaChannel];
|
||||||
interactionCreate: [interaction: Interaction];
|
interactionCreate: [interaction: Interaction];
|
||||||
|
|
Loading…
Reference in a new issue