Releases: ygimenez/Pagination-Utils
Pagination Utils 1.2.4 - Private channel fix
Fixed a bunch of errors regarding buttons added in private channel messages.
Pagination Utils 1.2.3 - Timeout fix
Fixed pagination's timeout not triggering right after the event is added, making some menus stay with buttons forever as long as an user don't interact with it.
Pagination Utils 1.2.2 - Don't touch my menus!
Added a new version of each method to allow setting a Predicate to check for the user that pressed the cancel button, this way no other user will be able to control every single menu!
Example:
//Will only work if the ID of the user that pressed the button equals to given ID.
Pages.paginate(msg, someList, 1, TimeUnit.MINUTES, 5, u -> u.getId().equals(someId));
Pagination Utils 1.2.1c - Yet Another Hotfix
Fixed some errors that happened only when a very specific criteria has been met.
Pagination Utils 1.2.1b - Hotfix
Fixed some uncaught exceptions
Pagination Utils 1.2.1 - Unremovable Buttons
Now members can no longer remove buttons by deleting the reaction itself, this prevents silly moderators from messing with your menu setup!
Pagination Utils 1.2.0 - Skip buttons
Added a new sweet feature, and fixed some minor issues.
New feature:
- (Requested by Sparky) Now you can specify an amount of pages to be skipped with the new skip buttons in the pagination method
Fixed:
- Fixed some rare weird errors due to pagination being used in Direct Message channels
- Minor improvements in code logic
Pagination Utils 1.1.0 - Button handler rework
Updated the logic behind button handler, now everything is treated as a single event! No more flooding your bot with lots of event listeners.
Fixed:
- High memory usage due to each message having its own event listener
- Optimized processing time to make it as realtime as possible
- Removed redundant code
Pagination Utils 1.0.4 - Uncaught exceptions fix
Now callback errors are properly ignored, since "missing permission" should be treated in the main code itself, not on the library.
Buttons will now remove user reactions to give a more button-ish feel to it.
Pagination Utils 1.0.3 - Custom cancel button fix
Fixed method ignoring cancel button's custom callback when passing it as argument within button map.