Optional
params: { Optional
oldOptional
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
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)
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.
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.