Results

Namespace

Type

An enumeration of channel types.

This is used on the discord.Channel.type property.

Index

Enumeration members

DM

DM: = 1

A private 1-1 channel between the bot user and another discord.User.

Note: See [[discord.DMChannel]].

GROUP_DM

GROUP_DM: = 3

A text channel containing up to 10 unrelated [[discord.Users]].

Note: Bots may not interact/view these channel types. This entry exists for reference purposes.

GUILD_CATEGORY

GUILD_CATEGORY: = 4

A category within a guild. Can be used to separate groups of channels under a single parent.

Guild Channels within categories will have a channel id specified on discord.GuildChannel.parentId.

Note: See discord.GuildCategory.

GUILD_NEWS

GUILD_NEWS: = 5

A special text channel that enables the use of the announcements system on Discord.

Note: See discord.GuildNewsChannel.

GUILD_STAGE_VOICE

GUILD_STAGE_VOICE: = 13

A special guild voice channel for Community servers.

In these channels, audience members can listen to users elected to the stage by moderators.

Note: See discord.GuildStageVoiceChannel.

GUILD_STORE

GUILD_STORE: = 6

A special guild channel that enables commerce features. Typically used by studios utilizing Discord to distribute their game.

Note: See discord.GuildStoreChannel.

GUILD_TEXT

GUILD_TEXT: = 0

A text chat channel within a discord.Guild.

Note: See discord.GuildTextChannel.

GUILD_VOICE

GUILD_VOICE: = 2

A voice channel within a discord.Guild.

Note: See discord.GuildVoiceChannel.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc