$loop
$loop
will execute awaited commands a given amount of times.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
time | string | How often to execute the loop. | true |
awaitData | object | Awaited Data. | true |
…awaitedCmds | string | Awaited Commands to execute. | true |
Example(s)
This will execute a loop that will edit the sent message 5 times with the given content in awaitData
:
We use $awaitData
to retrieve the given properties in the awaitData
field in the loop command.