Skip to content

$awaitExecute

$awaitExecute executes an awaited command.

Usage

$awaitExecute[awaitedCommand]

Parameters

FieldTypeDescriptionRequired
awaitedCommandstringThe awaited command to execute.true

Example(s)

This will execute an awaited command:

1
client.command({
2
name: "awaitExecute",
3
code: `
4
$awaitExecute[awaited]
5
$let[variable;Hello!]
6
`
7
});
1
client.awaitedCommand({
2
name: "awaited",
3
code: `
4
$get[variable] // Returns "Hello!"
5
`
6
});