docs(GuildChannelManager): add stage option (#5608)

This commit is contained in:
Vicente
2021-05-11 21:23:58 +01:00
committed by GitHub
parent 2e2464bf07
commit d219ecd05c
2 changed files with 3 additions and 2 deletions

3
typings/index.d.ts vendored
View File

@@ -2102,10 +2102,11 @@ declare module 'discord.js' {
public create(name: string, options?: GuildCreateChannelOptions & { type?: 'text' }): Promise<TextChannel>;
public create(name: string, options: GuildCreateChannelOptions & { type: 'news' }): Promise<NewsChannel>;
public create(name: string, options: GuildCreateChannelOptions & { type: 'store' }): Promise<StoreChannel>;
public create(name: string, options: GuildCreateChannelOptions & { type: 'stage' }): Promise<StageChannel>;
public create(
name: string,
options: GuildCreateChannelOptions,
): Promise<TextChannel | VoiceChannel | CategoryChannel | NewsChannel | StoreChannel>;
): Promise<TextChannel | VoiceChannel | CategoryChannel | NewsChannel | StoreChannel | StageChannel>;
}
export class GuildEmojiManager extends BaseGuildEmojiManager {