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
d.js docs
d.js docs3y ago
• 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.
Rodry
RodryOP3y ago
[email protected] Node.js v18.6.0
d.js docs
d.js docs3y ago
method CommandInteraction#awaitModalSubmit() Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.
Want results from more Discord servers?
Add your server