Skip to content

$channelLastPinTimestamp

$channelLastPinTimestamp will return the timestamp when the last pinned message was pinned, if there was one.

Usage

$channelLastPinTimestamp[channelID?]

Parameters

FieldTypeDescriptionRequired
channelID?numberThe 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:

1
client.command({
2
name: "channelLastPinTimestamp",
3
code: `$channelLastPinTimestamp[$channelID]`
4
});