The deleted message or an error message if the deletion was not possible
Get the author of the message
The author of the message
Get the roles of the author
The roles of the author
Get the content of the message.
The message content
Get the content of the message as an array.
The message split into an array
The date on which the message was created at.
The date the message was created at
Get the regex groups of a message
The pattern which shall be applied on the message.
Get the server the message was sent on, not every message has was sent on a server.
The server the message was sent on
Get the channel the message was sent in.
The wrapped channel object
Checks whether the message was sent on a server
True if the message was sent on a server, else false
Check if the message is deletable by the user.
True if the message is deletable
Check if a user was mentioned within the message.
The user to check for mentions
True if the user was mentioned, else false
Generated using TypeDoc
Deletes the message.