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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Tyranasaurus
TyranasaurusOP3y ago
hmm just tested it again, it still works for me
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Tyranasaurus
TyranasaurusOP3y ago
awesome, thank you!! followup - is there a way for me to check if the user has exed out/cancelled the modal without submitting it?
Kinect3000
Kinect30003y ago
No
Tyranasaurus
TyranasaurusOP3y ago
oof, okay - thanks!
Want results from more Discord servers?
Add your server