Sign In

$awaitModalSubmit[]

Awaits a modal submit, executing the code as the interaction context, returns bool depending on whether the interaction was received

v1.4.0+ Requires Brackets

Usage

$awaitModalSubmit[;;]

Arguments

NameTypeRequiredDescription
custom ID
StringYesThe modal's custom id to wait for
success code
StringYesThe code to execute on success, this is called with interaction context
time
TimeYesThe max time to wait for a component

Output

Boolean

Was this page helpful?