dc_create_thread
dc_create_thread(target,thread)
#
Creates a thread 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 |
---|---|---|
target |
Channel or Message | The channel where this thread should be created, or message with which the thread should start |
thread |
Thread object | The details to use to create the thread. |
Output values#
Return values#
- The created thread channel.
Uncaught exceptions #
Throws an exception on failure.
* api_exception
* missing_permission