$awaitMessage
Usage
$awaitMessage[channelID;userFilter;time;errorMessage;response1;output1;response2;output2;...etc]
This function has five params.
Example
bot.commands.add({
type: "basicCommand",
name: "example",
code: `
$awaitMessage[$channelID;everyone;1m;
$channelSendMessage[$channelID;$makeReturn[
No one replied with a valid input.
]]
;hello;
$channelSendMessage[$channelID;$makeReturn[
Hello, <@$get[message_author_id]>!
]]
;uwu;
$channelSendMessage[$channelID;$makeReturn[
UwU, <@$get[message_author_id]>!
]]
]
`
})
Last updated