ChannelsByKind
Defined in: packages/structures/src/channels.ts:152
The class of each channel kind, so channel.is("voice") can narrow to VoiceChannel.
Properties
Section titled “Properties”announcement
Section titled “announcement”announcement:
NewsChannel
Defined in: packages/structures/src/channels.ts:154
category
Section titled “category”category:
CategoryChannel
Defined in: packages/structures/src/channels.ts:157
directory
Section titled “directory”directory:
Channel
Defined in: packages/structures/src/channels.ts:163
dm:
DMChannel
Defined in: packages/structures/src/channels.ts:161
forum:
ForumChannel
Defined in: packages/structures/src/channels.ts:159
group-dm
Section titled “group-dm”group-dm:
DMChannel
Defined in: packages/structures/src/channels.ts:162
media:
MediaChannel
Defined in: packages/structures/src/channels.ts:160
stage:
StageChannel
Defined in: packages/structures/src/channels.ts:156
text:
TextChannel
Defined in: packages/structures/src/channels.ts:153
thread
Section titled “thread”thread:
ThreadChannel
Defined in: packages/structures/src/channels.ts:158
unknown
Section titled “unknown”unknown:
Channel
Defined in: packages/structures/src/channels.ts:164
voice:
VoiceChannel
Defined in: packages/structures/src/channels.ts:155