.cache

Type: Collection

.client

Type: Client

.shouldCacheMessage

.addReaction(channelId:

string

,

contentId:

string

,

emoteId:

number

)

Type: Promise<void>

Adds a reaction to a message.

.awaitMessages(channelId:

string

,

options:CollectorOptions)

Type: Promise<CollectorReturnValue>

.delete(channelId:

string

,

messageId:

string

)

Type: Promise<void>

Delete a channel message.

.deleteReaction(channelId:

string

,

contentId:

string

,

emoteId:

number

)

Type: Promise<void>

Deletes a reaction from a message.

.fetch(channelId:

string

,

messageId:

string

,

force:

boolean

)

Type: Promise<Message>

Fetches a message from a channel.

.fetchMany(channelId:

string

,

options:RESTGetChannelMessagesQuery)

Type: Promise<Collection>

Fetches multiple messages from a channel.

.send(channelId:

string

,

content:MessageContent)

Type: Promise<Message>

Sends a message to a channel.

.update(channelId:

string

,

messageId:

string

,

content:

unknown

)

Type: Promise<Message>

Updates a message in a channel.