Skip to content

$webhookExists

$webhookExists will check if a given webhook exists.

Usage

$webhookExists[id;token]

Parameters

FieldTypeDescriptionRequired
idnumberWebhook ID.true
tokenstringWebhook token.true

Example(s)

This will check if the given Webhook Exists:

1
client.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
});