$awaitFunc
Used to initiate an awaited command.
Syntax
$awaitFunc[Name;(User ID;Channel ID)]
Parameters
Name
(Type: String || Flag: Required)
: The name used inside the$awaitedCommand[]
and$awaitedCommandError[]
callbacks.User ID
(Type: Snowflake || Flag: Vacantable)
: The user the awaited command will trigger for. Uses command author, ifUser ID
is not present.Channel ID
(Type: Snowflake || Flag: Optional)
: The channel where the command will be awaited. Uses current channel, ifChannel ID
is not present.
Example
$nomention
What do you want me to say?
$awaitFunc[say]
For more info, see the Awaited Commands Guide.