$unPinMessage
$unPinMessage
will unpin a given message.
Usage
$unPinMessage[messageID?;channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
messageID | number | The ID of the message to unpin. | false |
channelID | number | The ID of the channel of where the message is located in. | false |
Example(s)
This will pin the bot’s message and unpin it after two seconds:
1client.command({2 name: "unPinMessage",3 code: `4 $unPinMessage[$get[id]]5 $wait[2s]6 $pinMessage[$get[id]]7 $let[id;$sendMessage[Hello!;true]8 ` // using $let & $get to save the message ID9});