forked from remote/MusicBot
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:
parent
235af8c8c6
commit
a501b00ab7
|
@ -57,6 +57,7 @@ public class QueueCmd extends MusicCommand
|
|||
.waitOnSinglePage(false)
|
||||
.useNumberedItems(true)
|
||||
.showPageNumbers(true)
|
||||
.wrapPageEnds(true)
|
||||
.setEventWaiter(bot.getWaiter())
|
||||
.setTimeout(1, TimeUnit.MINUTES);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue