PublicFollowUpPaginator
Class representing a button-based paginator that operates by creating and editing a follow-up message for the given public interaction response.
Parameters
Interaction response behaviour to work with.
Constructors
Properties
Button builder representing the button that switches to the previous page.
Current instance of the bot.
Whether it's possible for us to have a row of group-switching buttons.
ComponentContainer instance managing the buttons for this paginator.
Currently-displayed page group.
Currently-displayed page index.
Currently-displayed page object.
A button-oriented check function that matches based on the owner property.
Follow-up interaction to use for this paginator's embeds. Will be created by send.
Button builder representing the button that switches to the first page.
Group-specific buttons, if any.
Button builder representing the button that switches to the last page.
Button builder representing the button that switches to the next page.
Button builder representing the button that switches between groups.
What to do after the paginator times out.
Functions
Register a callback that is called after the paginator times out.
Convenience function to go to call goToPage with the previous page number, if we're not at the first page.
Replace an enabled interactive button in components with a disabled button of the same ID.
Replace a disabled button in components with the given interactive button of the same ID.
Convenience function to switch to a specific group.
Convenience function that enables and disables buttons as necessary, depending on the current page number.