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
- 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 staffthat'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•6mo ago
Message Not Public
Sign In & Join Server To View