$awaitedCommandError
Callback
Triggered when an awaited command doesn’t match with provided filter.
$awaitedCommandError[] is a callback, which means it’s used in the command trigger (not the code). The command is ran when an awaited command doesn’t match with provided filter.
Syntax
$awaitedCommandError[Name]
Parameters
Name(Type: String || Flag: Required): The name used in the$awaitFunc[]function.
Example
Trigger: $awaitedCommandError[number]
$nomention
Invalid number!
For more info, see the Awaited Commands Guide.