dc_send_webhook

dc_send_webhook(webhook, content, profile)#

Sends a message to the webhook. In contrast to dc_send_message(webhook, content), it lets you change the webhook's profile at the same time.

Blocking function

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

Input parameters#

Parameter Type Description
webhook Webhook The webhook to send the message to.
content Message content, String The content of the message.
profile Webhook message profile The profile to use.

Output values#

Return values#

Uncaught exceptions #

  • Throws an exception on failure.