Sign In

$awaitMessage[]

Awaits a message, returns message ID or nothing if no valid response

v1.0.7+ Requires Brackets

Usage

$awaitMessage[;;;]

Arguments

NameTypeRequiredDescription
channel ID
ChannelYesThe channel to await message on
variable name
StringYesThe variable to load the message id that was sent as response by a user, get it with $env[<variable>]
filterConditional
StringYesThe filter to run for every message sent after this
time
TimeYesThe max time to wait for a message

Output

Message

Was this page helpful?