Pagination Utils 4.0.5b - Menus for everyone
Added support for SelectMenu
value retrieval, and fixed the issue where buttons would refuse to work in ephemeral messages. To use SelectMenu
s with buttonization you must use ButtonizeHelper
, or add the components afterwards, but remember to keep the original buttons else the library will clear the components.
It's also possible to retrieve the values from other messages, should you ever need to, this can be done through getDropdownValues()
method in MessageHandler
(can be found in Pages.getHandler()
). To get the event's ID, use getEventId()
method in the same class.
Changelist:
- Renamed
MessageHandler
toEventHandler
. - Added
InteractionHook
to the internal event handler, as you cannot retrieve ephemeral messages. - Added missing javadocs.