MessageCreate
Last updated
Was this helpful?
Last updated
Was this helpful?
The author of the message that was sent
Returns - user
The type of the message
Returns - messageType
Whether or not the message is a Text-to-Speech message.
Returns -
The timestamp of when the message is sent
Returns - Timestamp
Whether or not the message is pinned to the channel
A random number generated after the message was successfully sent
An array of mentions of members of the message - Will be switched to collection soon
An array of mentions of roles of the message - Will be switched to collection soon
Whether or not @everyone has been mentioned in the message
The member object returned by discord - will have its own class soon
The flags of the channel
An array of the embeds of the channel
the timestamp of the time the message was last edited
Returns - ?Timestamp
the content of the message
the id of the channel the message was sent in
An array of the attachments the message has
the id of the guild the message was sent in
the id of the message
The client the message was sent in
The channel constructor of the message
The user constructor of the user that sent the message
This method will delete the current message and fire the messageDelete event
Returns - ?messageDeleteObject
This method will pin the message to the channel
Returns - ?messagePinObject
This method will unpin the message to the channel
Returns - ?messageUnpinObject
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -
Returns -