accept

abstract fun accept(paginator: T, builder: MessageCreateBuilder, embedBuilder: EmbedBuilder, page: Int)(source)

Edits the page being created.

You can also use the paginator instance to:

  • Modify the pagination's state when a button is triggered

  • Delete the pagination, cancel the timeout and clean up the components when a button is clicked

Parameters

paginator

The paginator instance this is for

builder

The MessageCreateBuilder for the current page

embedBuilder

The EmbedBuilder for the current page

page

The page number of the currently displayed paginator