$wait
$wait
will delay functions from executing for a given time.
Usage
$wait[time]
Parameters
Field | Type | Description | Required |
---|---|---|---|
time | string, number | How long to delay the execution. | true |
Example(s)
This will send an embed with a delay of 5 seconds:
1client.command({2 name: "wait",3 code: `4 $description[Hello!]5 $wait[5s]6 $sendMessage[Oh, what's that?]7 `8});