docs: fix broken discord support link

#8485 discord.js v13.11
This commit is contained in:
March 7th 2022-08-14 17:17:37 +07:00
parent bb24adc1dc
commit e56b1bb702
4 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@ const GuildChannel = require('./GuildChannel');
/** /**
* Represents a guild store channel on Discord. * Represents a guild store channel on Discord.
* <warn>Store channels have been removed from Discord. See * <warn>Store channels have been removed from Discord. See
* [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) * [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/6309018858647)
* for more information.</warn> * for more information.</warn>
* @extends {GuildChannel} * @extends {GuildChannel}
*/ */

View File

@ -784,7 +784,7 @@ exports.ActivityTypes = createEnum(['PLAYING', 'STREAMING', 'LISTENING', 'WATCHI
* * `GUILD_NEWS` - a guild news channel * * `GUILD_NEWS` - a guild news channel
* * `GUILD_STORE` - a guild store channel * * `GUILD_STORE` - a guild store channel
* <warn>Store channels are deprecated and will be removed from Discord in March 2022. See * <warn>Store channels are deprecated and will be removed from Discord in March 2022. See
* [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) * [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/6309018858647)
* for more information.</warn> * for more information.</warn>
* * `GUILD_NEWS_THREAD` - a guild news channel's public thread channel * * `GUILD_NEWS_THREAD` - a guild news channel's public thread channel
* * `GUILD_PUBLIC_THREAD` - a guild text channel's public thread channel * * `GUILD_PUBLIC_THREAD` - a guild text channel's public thread channel

8
typings/index.d.ts vendored
View File

@ -748,7 +748,7 @@ export class CategoryChannel extends GuildChannel {
options: CategoryCreateChannelOptions & { type: T }, options: CategoryCreateChannelOptions & { type: T },
): Promise<MappedChannelCategoryTypes[T]>; ): Promise<MappedChannelCategoryTypes[T]>;
/** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) for more information */ /** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/6309018858647) for more information */
public createChannel( public createChannel(
name: string, name: string,
options: CategoryCreateChannelOptions & { type: 'GUILD_STORE' | ChannelTypes.GUILD_STORE }, options: CategoryCreateChannelOptions & { type: 'GUILD_STORE' | ChannelTypes.GUILD_STORE },
@ -2680,12 +2680,12 @@ export class StickerPack extends Base {
public bannerURL(options?: StaticImageURLOptions): string | null; public bannerURL(options?: StaticImageURLOptions): string | null;
} }
/** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) for more information */ /** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/6309018858647) for more information */
export class StoreChannel extends GuildChannel { export class StoreChannel extends GuildChannel {
private constructor(guild: Guild, data?: RawGuildChannelData, client?: Client); private constructor(guild: Guild, data?: RawGuildChannelData, client?: Client);
public createInvite(options?: CreateInviteOptions): Promise<Invite>; public createInvite(options?: CreateInviteOptions): Promise<Invite>;
public fetchInvites(cache?: boolean): Promise<Collection<string, Invite>>; public fetchInvites(cache?: boolean): Promise<Collection<string, Invite>>;
/** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) for more information */ /** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/6309018858647) for more information */
public clone(options?: GuildChannelCloneOptions): Promise<this>; public clone(options?: GuildChannelCloneOptions): Promise<this>;
public nsfw: boolean; public nsfw: boolean;
public type: 'GUILD_STORE'; public type: 'GUILD_STORE';
@ -3631,7 +3631,7 @@ export class GuildChannelManager extends CachedManager<Snowflake, GuildBasedChan
options: GuildChannelCreateOptions & { type: T }, options: GuildChannelCreateOptions & { type: T },
): Promise<MappedGuildChannelTypes[T]>; ): Promise<MappedGuildChannelTypes[T]>;
/** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) for more information */ /** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/6309018858647) for more information */
public create( public create(
name: string, name: string,
options: GuildChannelCreateOptions & { type: 'GUILD_STORE' | ChannelTypes.GUILD_STORE }, options: GuildChannelCreateOptions & { type: 'GUILD_STORE' | ChannelTypes.GUILD_STORE },