$awaitMessages
$awaitMessages
will reply once a given message has been sent by the given user.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | Channel ID. | true |
userFilter | number | User filter 1. everyone 2. specific user - any user ID | true |
time | string | How long the command lasts / when it expires. | true |
replies | string | To what the bot will be responding to, multiple words can be separated with a comma (or use “everything” to respond to everything) | true |
cmds | string | Commands that will be executed, multiple commands can be separated with a comma. | true |
errorMessage? | string | Error message when the command expires. | false |
awaitData? | string | Awaited Data. | false |
dm? | number | User ID of where the command may be executed. | false |
Example(s)
This will reply to any message you send after executing the command: