io.github.freya022.botcommands.api.pagination.nested.NestedPaginator.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BotCommands Show documentation
Show all versions of BotCommands Show documentation
A Kotlin-first (and Java) framework that makes creating Discord bots a piece of cake, using the JDA library.
package io.github.freya022.botcommands.api.pagination.nested
import io.github.freya022.botcommands.api.core.BContext
import io.github.freya022.botcommands.api.pagination.Paginators
/**
* A paginator which wraps a paginator, with a select menu to switch between them.
*
* @see Paginators.nestedPagination
*/
class NestedPaginator internal constructor(
context: BContext,
builder: NestedPaginatorBuilder
) : AbstractNestedPaginator(
context,
builder
) {
object Defaults {
/** @see AbstractNestedPaginatorBuilder.usePaginatorControls */
@JvmStatic
var usePaginatorControls = false
}
}