Skip to content

$wait

$wait will delay functions from executing for a given time.

Usage

$wait[time]

Parameters

FieldTypeDescriptionRequired
timestring, numberHow long to delay the execution.true

Example(s)

This will send an embed delayed:

1
client.command({
2
name: "wait",
3
code: `
4
$description[Hello!]
5
$wait[5s]
6
$sendMessage[Oh, what's that?]
7
`
8
});