-
-
Notifications
You must be signed in to change notification settings - Fork 44
request: (PaginatedMessage) 'Go To Page' button to get page input from a user via a text modal #610
Copy link
Copy link
Open
Description
Is there an existing issue or pull request for this?
- I have searched the existing issues and pull requests
Feature description
Have an option to have a button Go To Page button show a text input modal for input on what page the bot should go to.
- This would allow more than 25 pages.
- Gives developers other options when it comes to displaying pages to users.
- It gives a more clean way of allowing the user to go to a certain page without the developer limiting
PaginatedMessageto only 25 pages.
Or removing the string select menu and bypassing
addPage/addPageswarning / check for the 25 page limit, which is what you can do currently but removes the ability to go to a certain page.
Desired solution
For PaginatedMessage add an option to use / not use the 'Go To Page' button as a default action to be handled by the package itself.
PaginatedMessageaddsGo To Page/❔button to the pagesPaginatedMessageOnce that button is pressed it will show a modal to get a page number input from the user.PaginatedMessageOnce that modal is submitted it will be processed and the page will change (if valid etc.)
Alternatives considered
N/A
Additional context
No response
Reactions are currently unavailable