Sleep
This Action will make the action sleep for a specified time.
Makes Up
An Action is fundamentally made up of two main components:
- type
sleep- data
see SleepData
SleepData
Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
time | number | true | - | The time to sleep. (in milliseconds) |
Example
[
{
"type": "sleep",
"data": {
"time": 5000
}
}
]
Last modified: 12 11月 2023