dc_create_webhook
dc_create_webhook(channel, webhookProfile)
#
Blocking function
This function is blocking, meaning it can freeze the game. Use it in a task to avoid freezing your game.
Creates a new Webhook in the specified channel
with the specified options in webhookProfile
as a webhook profile parsable.
Returns a webhook
Throws an exception on failure