Represents any channel type on Discord.
Represents any channel type on Discord that exists within a discord.Guild.
Discord's unique identifier for this channel. This value never changes.
The type of this channel. Always discord.Channel.Type.DM.
Attempts to delete the channel.
If an error occurs, a discord.ApiError exception is thrown.
Attempts to fetch a single discord.Message (by id) from this channel.
If no message is found, the Promise resolves as null.
The id of the message you wish to fetch data for.
Attempts to send a message with additional options (embed, tts, allowedMentions) to this channel.
Note: content OR embed must be set on the options properties.
See discord.Message.OutgoingMessageOptions for descriptions on possible options.
If an error occurs sending this message, a discord.ApiError exception will be thrown.
Outgoing message options.
Attempts to send a simple message from a string to this channel.
Note: If you'd like to send an embed or pass additional options, see discord.Message.OutgoingMessageOptions
If an error occurs sending this message, a discord.ApiError exception will be thrown.
Content to use for the outgoing message.
Attempts to send a message with only a discord.Embed attached.
If an error occurs sending this message, a discord.ApiError exception will be thrown.
The embed object you'd like to send to the channel.
Triggers the *Username* is typing... message to appear near the text input box for users focused on the channel.
The typing indicator will last up to 15 seconds, or until the bot user sends a message in the channel. Whatever comes first.
Typically unused by bots, but can be used to indicate a command response is "loading" or "processing."
Generated using TypeDoc
A private 1-1 channel between the bot user and another discord.User.