Modal — Pagination

Hi! To construct my bot, I wanted to use modals allowing user reply. But my number of fields is more than 5. It's is possible to construct multiple modals with pagination or simply the button "validate" open the second modal? (I can count easily the number of futur fields and cut by 5) I can't use a specific slash commands here (as the argument are user defined) so I have the choice between modal pagination or waiting a reply for the user (using a more generic slash commands) I think the second pretty long vs a modal, that's why I ask.
3 Replies
d.js toolkit
d.js toolkit9mo 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!
ShompiFlen
ShompiFlen9mo ago
have you thought about using a slash command to get only the first argument from the user (lets say for an example: a sports type) and then just show the modal according to that type to the user? you are right modals cant have more than 5 fields, and im pretty sure you cant reply to a modal with another modal... but you can reply to the first modal with a message and a button that the user can press to continue with the next form
Mara
MaraOP9mo ago
Oooh That's a nice idea
Want results from more Discord servers?
Add your server