T

CommandChannel

A Discord channel, as the channel store returns it.

type CommandChannel = { … }

Members

guild_id?string | null

The id of the guild the channel belongs to; null or absent for DMs and group DMs.

idstring

The channel's Discord snowflake id.

name?string

The channel name; DMs may have none.

typenumber

Discord's numeric channel type, such as 0 for a guild text channel or 1 for a DM.