$pinMessage[message ID;channel?]
Pins a message, so it is easy to find in the channel's pinned list.
Values
message ID- The ID of a message, for example from $messageID or $sendMessage.
channel- Optional. The channel the message is in, this channel if empty.
Example
$pinMessage[$messageID]
Pins the command message