BasePaginator

constructor(pages: Pages, chunkedPages: Int = 1, owner: UserBehavior? = null, timeoutSeconds: Long? = null, keepEmbed: Boolean = true, switchEmoji: ReactionEmoji = if (pages.groups.size == 2) EXPAND_EMOJI else SWITCH_EMOJI, mutator: PageTransitionCallback? = null, locale: Locale? = null)

Parameters

pages

How many "pages" should be displayed at once, from 1 to 9

owner

Optional paginator owner - setting this will prevent other users from interacting with the paginator

timeoutSeconds

How long (in seconds) to wait before destroying the paginator, if needed

keepEmbed

Set this to false to remove the paginator's message when it's destroyed

switchEmoji

The ReactionEmoji to use for group switching

locale

A Locale object for this pagination context, which defaults to the bot's default locale