accept
Accept action to perform on dialogs
Examples
prompt('Message', async () => await accept('Something'))
prompt('Message', async () => await accept())
Parameters
-
text
string -
Expected text of the dialog (optional)