$awaitCmdReactions
The bot will execute a command when someone reacts to your message. If the user reacts with the 2nd emoji, the 2nd command will be triggered.

FUNCTION USAGE

  • $awaitCmdReactions[😊,πŸ˜”,...;userID;time;cmd1,cmd2,...;error message]
​
You must use the direct emoji! Invalid usage = :smile: Valid usage = πŸ˜€ Click here for a website full of copy/paste emojis that we allow
$awaitCmdReactions[😊,πŸ˜”,😏,...;userID/everyone;time;command1,command2,command3,...;error message] - awaits a reaction from the author's message. If the user reacts with "πŸ˜”", the command triggered will be "command2"
This is the command you will execute to tell the bot to start waiting for the reaction
1
bot.Command({
2
name: "awaitreact",
3
code: `$awaitCmdReactions[😏;everyone;60s;smirkreact;error message] Waiting for a smirk reaction on the command authors message`
4
})
Copied!
This is the AwaitedCommand that will be executed by the bot when someone reacts with the "smirk" emoji
1
bot.AwaitedCommand({
2
name: "smirkreact",
3
code: `$username[] you just smirked lol`
4
})
Copied!
Last modified 1yr ago
Copy link