bot.AwaitedCommand
bot.AwaitedCommand is to be used and executed with $awaitMessages, $awaitCmdReactions and $awaitReactions
1
bot.Command({
2
name: "await",
3
code: "$awaitMessages[ok;everyone;10s;oof;Something went wrong]"
4
})
Copied!
Now when someone in the server says ok within the time limit, it will trigger the oof command so the bot can say Its working
1
bot.AwaitedCommand({
2
name: "oof",
3
code: "Its working"
4
})
Copied!
Don't forget to join our discord server!
Last modified 1yr ago
Copy link