Hierarchy (view full)

Properties

bitrate: number

Channel flags, e.g whether this channel is a spoiler channel, a pinned forum post, or if its metadata was obfuscated because the bot can't view it.

id: string
kind: "Voice" | "StageVoice"
kindId: number

The raw discord channel type id, compare against ChannelTypes.

Unlike kind this is also meaningful for channel types botloader doesn't have a name for yet.

Example

if (channel.kindId === ChannelTypes.Forum) {
// ...
}
name: string
parentId: null | string
permissionOverwrites: IPermissionOverwrite[]
position: number
rtcRegion: null | string
userLimit: null | number
videoQualityMode: null | VideoQualityMode

Methods

Generated using TypeDoc