$timeoutList
$timeoutList will return all timeouts present in your database.
Usage
$timeoutList[format?;separator?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| format? | string | The format of the timeout keys. 1. key 2. duration 3. id 4. {key} (custom format) | false |
| separator? | string | Timeout Data option name. | false |
Example(s)
This will return all timeouts in the key format:
1client.command({2 name: "timeoutList",3 code: `4 $timeoutList[key;, ]5 `6});This will return all timeouts in the key format:
1client.command({2 name: "timeoutList",3 code: `4 $timeoutList[{key} {duration}];, ]5 `6});