feat(Channel): Add isThreadOnly()

#9847 backport
This commit is contained in:
Elysia
2024-09-17 17:51:39 +07:00
parent 35ca0c89bf
commit f8071f7e79
2 changed files with 15 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -730,6 +730,7 @@ export abstract class Channel extends Base {
public isVoice(): this is BaseGuildVoiceChannel;
public isThread(): this is ThreadChannel;
public isDirectory(): this is DirectoryChannel;
public isThreadOnly(): this is ThreadOnlyChannel;
public toString(): ChannelMention;
}