A Message object is used to represent the data of a message.
The channel the message was sent in, either a TextChannel or PMChannel.
A raw array of attachment objects.
Boolean, true if the message was text-to-speech.
A raw array of embed objects.
Number, timestamp of when the message was sent.
Boolean, true if
@everyone was mentioned.
String, ID of the message.
Timestamp on when the message was last edited, Number. Potentially null.
String, content of the message.
String, content of the message with valid user mentions (<@123>) replaced with “@username”.
Returns true if the given user was mentioned in the message.
- user - A User Resolvable