Modal Timeout
Hello! I'm trying to create a Modal that times out after a minute, and if a response is received, do something with it, and if not received in time, provide a helpful message saying something like 'Modal Timed Out'.
I've followed the tutorial here: https://stackoverflow.com/questions/72792015/modal-collector-discord-js
But I can't figure out how to give an error message if the modal times out - currently Discord just gives a generic 'something went wrong' message when trying to submit the timed-out modal.
6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
hmm just tested it again, it still works for me
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
awesome, thank you!!
followup - is there a way for me to check if the user has exed out/cancelled the modal without submitting it?
No
oof, okay - thanks!