Add wrapping of page ends in queue command
This feature wraps both page ends, meaning that users can jump from the first page to the last page, using the previous page reaction, while using the next page button on the last page brings you to the first page. Resolves #233.
This commit is contained in:
@@ -57,6 +57,7 @@ public class QueueCmd extends MusicCommand
|
|||||||
.waitOnSinglePage(false)
|
.waitOnSinglePage(false)
|
||||||
.useNumberedItems(true)
|
.useNumberedItems(true)
|
||||||
.showPageNumbers(true)
|
.showPageNumbers(true)
|
||||||
|
.wrapPageEnds(true)
|
||||||
.setEventWaiter(bot.getWaiter())
|
.setEventWaiter(bot.getWaiter())
|
||||||
.setTimeout(1, TimeUnit.MINUTES);
|
.setTimeout(1, TimeUnit.MINUTES);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user