$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, if User ID is not present.
  • Channel ID (Type: Snowflake || Flag: Optional): The channel where the command will be awaited. Uses current channel, if Channel ID is not present.

Example

$nomention
What do you want me to say?
$awaitFunc[say]
!say What do you want me to say? I love BDFD! I love BDFD!

For more info, see the Awaited Commands Guide.