Class for storing and modifying pagination data.
Optional
data: PaginationDataPre-made PaginationData.
Private
_afterPrivate
_buttonsPrivate
_collectorPrivate
_collectorPrivate
_currentPrivate
_embedsPrivate
_filterPrivate
_isPrivate
_onPrivate
_timeAction that will be completed after the pagination was sent.
The buttons of this pagination. By default is an empty array.
Collector that collects button interactions.
Options for collecting button interactions.
Current page number. Zero-based. By default is zero.
Embeds of this pagination. By default is an empty array.
Options for filtering button interactions. By default singleUserAccess and noAccessReply are true. And noAccessReplyContent is "You're disallowed to use this very pagination!".
Indicates whether this pagination sent or not. By default is false.
How long the pagination will exist (in milliseconds). By default is zero.
Protected
_setProtected
_setSets collector of the pagination.
Collector that collects button interactions.
Collector that collects button interactions.
Protected
_setProtected
_setPrivate
_setupSetups pagination data from another pagination data.
PaginationData.
Button's customId. Should be a string.
Inserts embeds.
Pagination.
Embed(-s) that is/are meant to be inserted.
Optional
index: numberZero-based location in the array there the embed(-s) should be inserted.
Removes embed(-s) by it's/theirs index(-es) in the array of embeds.
Pagination.
Zero-based location in the array from which to start removing embeds.
Quantity of embeds to remove.
Sets action that will be completed after the pagination was sent.
Pagination.
Action that will be completed.
Sets button(-s). Overrides current button(-s).
Pagination.
Button(-s) that is/are meant to be set.
Sets collector options. Overrides current options.
Pagination.
Options for collecting button interactions.
Sets embed(-s). Overrides current embed(-s).
Pagination.
Embed(-s) that is/are meant to be set.
Sets filter options. Overrides current options.
Pagination.
Options for filtering out button interactions.
Sets action that will be completed after the pagination was stopped.
Pagination.
Action that will be completed.
Sets pagination active phase duration.
Pagination.
Time in milliseconds.
Optional
bypassLibraryLimits: booleanShould the time bypass library limit or not.
Generated using TypeDoc
Class for storing and modifying pagination data.