#Problème with modal
1 messages · Page 1 of 1 (latest)
Then you didn’t reply to the ModalSubmitInteraction
who I do this?
ModalSubmitInteraction#reply()
Creates a reply to this interaction. (more...)
Your courseCollector there can‘t collect ModalSubmitInteraction. Because Modals aren’t MessageComponents and because you immediately return when it‘s not a button anyway
ButtonInteraction#awaitModalSubmit()
Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.
Maybe this helps
I have try to add interaction.awaitModalSubmit({ courseFilter, time: 15000 }); but same error