Skip to content

$messageWebhookID

$messageWebhookID will return the ID of the webhook which sent the given message.

Usage

$messageWebhookID[messageID?;channelID?]

Parameters

FieldTypeDescriptionRequired
messageID?numberID of the message.false
channelID?numberID of the message where the message is located in.false

Example(s)

This will return the ID of a webhook, make sure to replace “messageID” with an actual message ID sent from a webhook:

1
client.command({
2
name: "messageWebhookID",
3
code: `
4
$messageWebhookID[messageID;$channelID] //replace messageID
5
`
6
});