$messageType
$messageType
will return the type of a given message.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
messageID? | number | ID of the message. | false |
channelID? | number | ID of the channel where the message is located in. | false |
Example(s)
This will return the message type of the message which executed the command: