Optional
params: { Optional
originalID of the last message created with the message itself.
ID of the channel on which the message was sent.
Bot's client.
Content of the message.
When the message was created.
When the message was deleted.
Timestamp at which this message was last edited.
Optional
embedsArray of message embed.
ID of the server on which the message was sent.
Item ID
If true, the message appears as private.
If true, the message didn't mention anyone.
ID of the message author.
object containing all mentioned users.
The IDs of the message replied by the message.
Message type.
Optional
webhookIDID of the webhook used to send this message. (if sent by a webhook)
The channel this message was created in.
Retrieve message's member.
Make sure to await this property (getter) to still get results even if the member is not cached.
The API does not provide member information, that's why you might need to await this property.
This method is used to create a message following this message.
Note: this method DOES NOT reply to the current message, you have to do it yourself.
Message options.
This method is used to edit the current message.
New message's options
Optional
content?: stringOptional
embeds?: APIEmbedOptions[]Edit the last message sent with the message itself.
New message's options.
Optional
content?: stringOptional
embeds?: APIEmbedOptions[]Edit the message's original response message.
New message's options.
Optional
content?: stringOptional
embeds?: APIEmbedOptions[]
Represents a guild message.