dc_send_message
dc_send_message(target, content)
#
Sends a message to a target.
Blocking function
Invoking this function can freeze the game.
Use it in a task
to avoid freezing your game.
Input parameters#
Parameter | Type | Description |
---|---|---|
target |
Channel, User, Webhook | The target to use to send the message. |
content |
Message content | The content of the message. |
Output values#
Return values#
- The sent message.
Uncaught exceptions #
- Throws an exception on failure.