problems submitting modals
when i fill my details in the modal, it says something went wrong...
6 Replies
<:_:898645159934316565> Interaction#isModalSubmit()
Indicates whether this interaction is a ModalSubmitInteraction
Or use
interaction.awaitModalSubmit()
, which does the event listening for you.<:_:898645159934316565> CommandInteraction#awaitModalSubmit()
Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.
is that await necessary?
ok i will try
Yes
ok ty