$channelLastPinTimestamp
$channelLastPinTimestamp will return the timestamp when the last pinned message was pinned, if there was one.
Usage
$channelLastPinTimestamp[channelID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelID? | number | The ID of the channel. | false |
Example(s)
This will return the timestamp when the last pinned message was pinned on the current channel, if there was one:
1client.command({2 name: "channelLastPinTimestamp",3 code: `$channelLastPinTimestamp[$channelID]`4});