Implement paginator , selection

so I want to have like a menu where you can pick several buttons and each button will show several options but each option should also have a paginato, what's the best class for this?
Solution:
I do something similar in my bot, I could not find a prebuilt class that handles that. Paginated Message would work but it’s not designed for that kind of functionality specifically so you’d have to override it. I use interaction handlers to do it in mine and it works really well. https://sapphirejs.dev/docs/Guide/interaction-handlers/what-are-they...
Sapphire Framework
What are they? | Sapphire
These are interaction handlers! A simple class you can extend to handle almost all the interactions you may receive in
Jump to solution
3 Replies
Slime
Slime4mo ago
so I have button 1 - swap to selection menu 1 button 2 - swap to selection menu 2 button 3 - swap to selection menu 3 backward - goes back in selection menu pages which is currently selected forward - goes forward
Solution
WhacK
WhacK4mo ago
I do something similar in my bot, I could not find a prebuilt class that handles that. Paginated Message would work but it’s not designed for that kind of functionality specifically so you’d have to override it. I use interaction handlers to do it in mine and it works really well. https://sapphirejs.dev/docs/Guide/interaction-handlers/what-are-they
Sapphire Framework
What are they? | Sapphire
These are interaction handlers! A simple class you can extend to handle almost all the interactions you may receive in
Slime
Slime4mo ago
I will check it out thank you Cause each reply will be different data so I would like to keep it in a class but I will see how I can utilize this