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 text channel represents any channel on Discord that store messages.
The base methods available on this class are also available for all child classes.