$webhookExists
$webhookExists
will check if a given webhook exists.
Usage
$webhookExists[id;token]
Parameters
Field | Type | Description | Required |
---|---|---|---|
id | number | Webhook ID. | true |
token | string | Webhook token. | true |
Example(s)
This will check if the given webhook exists:
1client.command({2 name: "webhookExists",3 code: `4 $webhookExists[$splitText[1];$splitText[2]]5 $textSplit[$createWebhook[$channelID;aoi.js is great;$userAvatar[$authorID];Just testing.;, ];, ]6 `7});