Skip to content

Pagination Utils 4.0.5b - Menus for everyone

Compare
Choose a tag to compare
@ygimenez ygimenez released this 14 Aug 19:00
· 18 commits to master since this release

Added support for SelectMenu value retrieval, and fixed the issue where buttons would refuse to work in ephemeral messages. To use SelectMenus 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 to EventHandler.
  • Added InteractionHook to the internal event handler, as you cannot retrieve ephemeral messages.
  • Added missing javadocs.