typings(VoiceState): allow moving members to stage channels (#6684)

This commit is contained in:
Andreas Clausen
2021-09-26 21:33:11 +02:00
committed by GitHub
parent 839974ca43
commit 94ca0f599d
3 changed files with 5 additions and 8 deletions

6
typings/index.d.ts vendored
View File

@@ -25,7 +25,6 @@ import {
APIActionRowComponent,
APIApplicationCommand,
APIApplicationCommandInteractionData,
APIApplicationCommandInteractionDataOption,
APIApplicationCommandOption,
APIApplicationCommandPermission,
APIAuditLogChange,
@@ -85,7 +84,6 @@ import {
RawBaseGuildData,
RawChannelData,
RawClientApplicationData,
RawCommandInteractionData,
RawDMChannelData,
RawEmojiData,
RawGuildAuditLogData,
@@ -407,7 +405,7 @@ export class Channel extends Base {
public delete(): Promise<Channel>;
public fetch(force?: boolean): Promise<Channel>;
public isText(): this is TextBasedChannels;
public isVoice(): this is VoiceChannel | StageChannel;
public isVoice(): this is BaseGuildVoiceChannel;
public isThread(): this is ThreadChannel;
public toString(): ChannelMention;
}
@@ -2090,7 +2088,7 @@ export class VoiceState extends Base {
public setDeaf(deaf?: boolean, reason?: string): Promise<GuildMember>;
public setMute(mute?: boolean, reason?: string): Promise<GuildMember>;
public disconnect(reason?: string): Promise<GuildMember>;
public setChannel(channel: VoiceChannelResolvable | null, reason?: string): Promise<GuildMember>;
public setChannel(channel: GuildVoiceChannelResolvable | null, reason?: string): Promise<GuildMember>;
public setRequestToSpeak(request?: boolean): Promise<void>;
public setSuppressed(suppressed?: boolean): Promise<void>;
}