mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
feat(Channel): add isVoice() (#6297)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user