feat(BaseChannel): Add isThreadOnly() (#9847)

* add isThreadBased

* Update typings

* fix name

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
cobalt
2023-10-10 08:13:57 -05:00
committed by GitHub
parent 11f6955ed9
commit 699b232922
2 changed files with 9 additions and 0 deletions

View File

@@ -942,6 +942,7 @@ export abstract class BaseChannel extends Base {
public isTextBased(): this is TextBasedChannel;
public isDMBased(): this is PartialGroupDMChannel | DMChannel | PartialDMChannel;
public isVoiceBased(): this is VoiceBasedChannel;
public isThreadOnly(): this is ThreadOnlyChannel;
public toString(): ChannelMention | UserMention;
}