#Verify Modal
17 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
What happens when you try to send it?
Does that mean I can't use a collector for a modal at all?
You cant use a MessageComponentCollector because they arent message components
You can use an InteractionCollector
awaitModalSubmit exist
Documentation suggestion for @uneven mist:
MessageComponentInteraction#awaitModalSubmit()
Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.
but i need for 13
Documentation suggestion for @uneven mist:
CommandInteraction#awaitModalSubmit()
Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.
just the same
did that mean i need to change this place: const collector = interaction.channel.createMessageComponentCollector({ filter, time: 15000 });
Other Interactions: Modals - Receiving modal submissions