dc_webhook_from_id
dc_webhook_from_id(id, token)#
Gets the webhook from the specified ID and token.
Blocking function
Invoking this function can freeze the game.
Use it in a task to avoid freezing your game.
Input parameters#
| Parameter | Type | Description |
|---|---|---|
id |
String, Number | The ID of the webhook. |
token |
String | The token of the webhook. |
Output values#
Return values#
Uncaught exceptions #
Throws an exception on failure.
* api_exception
* missing_permission