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