Optional
attachments?: { Array of attachments
Id of the user or webhook that sent this message
Id of the channel this message was sent in
Optional
content?: stringMessage content
Optional
edited?: stringTime at which this message was last edited
Optional
embeds?: ({ Attached embeds to this message
Optional
interactions?: { Information about how this message should be interacted with
Optional
reactions?: string[]Reactions which should always appear and be distinct
Optional
restrict_Whether reactions should be restricted to the given list
Can only be set to true if reactions list is of at least length 1
Optional
masquerade?: { Name and / or avatar overrides for this message
Optional
avatar?: stringReplace the avatar shown on this message (URL to image file)
Optional
colour?: stringReplace the display role colour shown on this message
Must have ManageRole
permission to use
Optional
name?: stringReplace the display name shown on this message
Optional
mentions?: string[]Array of user ids mentioned in this message
Optional
nonce?: stringUnique value generated by client sending this message
Optional
reactions?: { Hashmap of emoji IDs to array of user IDs
Optional
replies?: string[]Array of message ids this message is replying to
Optional
system?: { System message
Optional
webhook?: { The webhook that sent this message
Optional
avatar?: stringProtected
_idReturns an array of embed objects for this message.
Optional
avatar?: stringReplace the avatar shown on this message (URL to image file)
Optional
colour?: stringReplace the display role colour shown on this message
Must have ManageRole
permission to use
Optional
name?: stringReplace the display name shown on this message
If the message author allows reactions on their messages.
Original API object.
Adds an embed to this message. (used internally)
Stops listening for Map updates.
this
, useful for chaining.
The callback to stop listening for updates on.
Listen for an update to this Map.
this
, useful for chaining.
The callback to run when an update occurs.
Reply to this message. (mention off by default)
Update this object with new API data.
Description
Unique Id