dc_create_webhook

dc_create_webhook(channel, profile)#

Creates a new webhook in a channel.

Blocking function

Invoking this function can freeze the game. Use it in a task to avoid freezing your game.

Input parameters#

Parameter Type Description
channel Channel The channel to create the webhook in.
profile Webhook profile The webhook's profile.

Output values#

Return values#

Uncaught exceptions #

  • Throws an exception on failure.