feat(Channel): add isVoice() (#6297)

This commit is contained in:
DaStormer
2021-08-05 11:41:06 -04:00
committed by GitHub
parent dd3a79eead
commit 5b4efd13c9
2 changed files with 11 additions and 1 deletions

1
typings/index.d.ts vendored
View File

@@ -354,6 +354,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 isThread(): this is ThreadChannel;
public toString(): ChannelMention;
}