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: "Text" | "News" | "GuildDirectory" | "Forum" | "Media"
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) {
// ...
}
lastPinTimestamp: null | number
name: string
nsfw: boolean
parentId: null | string
permissionOverwrites: IPermissionOverwrite[]
position: number
rateLimitPerUser: null | number
topic: null | string

Methods

  • Parameters

    Returns Promise<{
        message: Message;
        thread: Thread;
    }>

Generated using TypeDoc