$messageExists
$messageExists will check if a specific message exists.
Usage
$messageExists[messageID;channelID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| messageID | number | the id of the message | true |
| channelID? | number | the channel id where the message is located | false |
Example(s)
This will return false as the message doesn’t exist in the given channel:
1client.command({2 name: "messageExists",3 code: `4 $messageExists[1058998634823299143;$channelID]5 `6});