$sendWebhook
Sends a message using an existing webhook in the server/channel. Provide the webhookURL and the message to send. Great for logs and more!

FUNCTION USAGE

  • $sendWebhook[hookURL;message]

Properties:

hookURL - Define a valid webhookURL. message - The message to send using the webhook.

Example: Sending a random message using a webhook

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