$webhookCreate

Creates and returns the URL of the newly created webhook.

Danger

Webhook URLs should be kept private, don’t share them!

Limit

Only 10 webhooks can be created per channel.

Syntax

$webhookCreate[Channel ID;Username;(Avatar URL)]

Parameters

  • Channel ID (Type: Snowflake || Flag: Required): The channel in which the webhook will be created.
  • Username (Type: String || Flag: Required): Name of the webhook that will be displayed in the channel.
  • Avatar URL (Type: String || Flag: Vacantable): Avatar of the webhook that will be displayed in the channel.

Example

$nomention
$webhookCreate[$channelID;BDFD Webhook 🤖]
!example 1234abcd567ABCDEFG890H_654679203GDGJEMFNXH.6479304948

What is this?

How $channelID works?

Tip

You can use $var[] or other variable functions to store the Webhook URL.

$var[Webhook;$webhookCreate[$channelID;Secret]]
Created and saved!
!example Created and saved!

How $var[] and $channelID works?

Read more

For more information, read the the Webhooks Guide.