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