Hierarchy (view full)

Properties

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: "NewsThread" = "NewsThread"
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
permissionOverwrites: IPermissionOverwrite[]

Methods

Generated using TypeDoc