diff --git a/menus/src/main/java/me/anutley/jdautils/menus/paginator/Paginator.java b/menus/src/main/java/me/anutley/jdautils/menus/paginator/Paginator.java index 8c32a38..d4f8b51 100644 --- a/menus/src/main/java/me/anutley/jdautils/menus/paginator/Paginator.java +++ b/menus/src/main/java/me/anutley/jdautils/menus/paginator/Paginator.java @@ -108,6 +108,13 @@ public boolean isEnd() { return index == pages.size() - 1; } + /** + * @return The list of pages in the paginator + */ + public List getPages() { + return pages; + } + /** * A common builder for paginators