$messageID
$messageID
will return the message ID.
Usage
$messageID
Example(s)
This will return the message ID of the message with which you executed the command:
1client.command({2 name: "messageID",3 code: `4 The message ID of your the message you just sent is: "$messageID"5 `6});