Receiving modal submissions through collectors
Is there a way to receive modal submissions through a collector either on a channel or a message? The types don't seem to allow that but I don't see why that wouldn't be possible in the code
3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.[email protected]
Node.js v18.6.0
CommandInteraction#awaitModalSubmit()
Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.