$createWebhook
Creates a webhook in a channel your bot can see and returns the webhook URL.

FUNCTION USAGE

    $createWebhook[channelID;name;avatarURL]

Properties:

channelID - Provide the channel ID of where the webhook will be created and used for sending content. name - Supply the new name of the webhook. avatarURL - Supply an image link to attach to your new webhook.

Example: Creating a webhook in the current channel with your own avatar.

1
bot.Command({
2
name: "makehook",
3
code: `
4
$createWebhook[$channelID[];$message[];$authorAvatar]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: