DJS Number Input

I know there is no number input for modals but how could I make it to where a text input could only be numbers and not let it be submitted unless it was numbers
3 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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! - Marked as resolved by staff
Amgelo
Amgelo6mo ago
that's not currently possible (discord limitation) you can validate once you receive the modal though and show an error to the user, fallback to a default value or something
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server