Message
Last updated
Was this helpful?
Last updated
Was this helpful?
The client the message was sent from, if any.
Returns -
The id of the message
Returns -
The type of the message
Returns -
the content of the message
The id of the channel the message was sent in, if any
The author of the message, returned exactly by discord
The attachments that are in the message, if any
The embeds sent in the message, if any
The mentions of users in the message
Roles mentioned in the message
Whether or not the message is pinned to the channel
Whether or not everyone was mentioned in the channel
Whether or not the message was a tts(text-to-speech) message.
The timestamp of the time the message was sent
Returns - Time
The timestamp of the time the message was last edited, if any
Returns - ?Time
The flags of the message
The reference data for crossposted messages, if any.
React to the message with the provided emoji
Param
Required?
Description
emoji
true
The emoji to be reacted to the message
Returns - emoji
Deletes the message
Returns - messageDeletedObject
Edit the message
Param
Required?
Description
newmessage
true
The message to edit to
Type: String or EmbedObject
Pin the message to the channel its sent in
Returns - messagePingedObject
Unpin the message if the message is pinged
Returns - messageUnpingedObject
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -