new messageCreate(object, client)
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 - Boolean
The timestamp of when the message is sent
Returns - Timestamp
Whether or not the message is pinned to the channel
Returns - Boolean
A random number generated after the message was successfully sent
Returns - Number
An array of mentions of members of the message - Will be switched to collection soon
Returns - Array
An array of mentions of roles of the message - Will be switched to collection soon
Returns - Array
everyoneMentioned
Whether or not @everyone has been mentioned in the message
Returns - Boolean
The member object returned by discord - will have its own class soon
Returns - Object
The flags of the channel
Returns - Number
An array of the embeds of the channel
Returns - Array
editedTimestamp
the timestamp of the time the message was last edited
Returns - ?Timestamp
the content of the message
Returns - String
the id of the channel the message was sent in
Returns - ?snowflake
An array of the attachments the message has
Returns - Array
the id of the guild the message was sent in
Returns - ?snowflake
the id of the message
Returns - ?snowflake
The client the message was sent in
Returns - ?Client
The channel constructor of the message
Returns - channelUtil
The user constructor of the user that sent the message
Returns - User
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