Skip to content

$timeoutList

$timeoutList will return all timeouts present in your database.

Usage

$timeoutList[format?;separator?]

Parameters

FieldTypeDescriptionRequired
format?stringThe format of the timeout keys.
1. key
2. duration
3. id
4. {key} (custom format)
false
separator?stringTimeout Data option name.false

Example(s)

This will return all timeouts in the key format:

1
client.command({
2
name: "timeoutList",
3
code: `
4
$timeoutList[key;, ]
5
`
6
});

This will return all timeouts in the key format:

1
client.command({
2
name: "timeoutList",
3
code: `
4
$timeoutList[{key} {duration}];, ]
5
`
6
});