Optional
params: { Optional
oldOptional
originalReadonly
_createdTimestamp (unix epoch time) of the message's creation.
Readonly
_deletedTimestamp (unix epoch time) of the message's deletion.
ID of the last message created with the message itself.
Readonly
_updatedTimestamp (unix epoch time) of the last message update/edition.
ID of the channel on which the message was sent.
Bot's client.
Content of the message.
Optional
embedsArray of message embed.
ID of the server on which the message was sent.
Item ID
ID of the message author.
object containing all mentioned users.
Old content of the message, if edited.
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)
string representation of the _createdAt timestamp.
string representation of the _deletedAt timestamp.
Retrieve message's member, if cached. If there is no cached member or user, this will make a request which returns a Promise. If the request fails, this will throw an error or return you undefined as a value.
string representation of the _updatedAt timestamp.
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[]
Message component, with all its methods and declarations.