# EmbedPagination

# Constructor

  new Utilitycord.EmbedPagination( PaginationOptions )
1
PARAMETER TYPE OPTIONAL DESCRIPTION
PaginationOptions JSON (opens new window) The configuration to configure your EmbedPagination.

# Methods

# setEmbeds( embeds )

Set the emebds of the pagination.

PARAMETER TYPE OPTIONAL DESCRIPTION
embeds Array (opens new window) [ MessageEmbed (opens new window) ] Sets the embeds to paginate.

# setTimeout( timeout )

Sets the timeout of the pagination when it is idle.

PARAMETER TYPE OPTIONAL DESCRIPTION
timeout Number (opens new window) Disable the buttons after this timeout when the pagination is idle.

# setButtons( buttons )

Set the interface of the buttons of the pagination/

PARAMETER TYPE OPTIONAL DESCRIPTION
buttons Array (opens new window) [ String (opens new window) ] What to put in the buttons of the message.

# setFilter( filter )

Set the filter of the pagination.

PARAMETER TYPE OPTIONAL DESCRIPTION
filter CollectorFilter (opens new window) Sets the filter for your Component Collector.

# send( client , channel )

PARAMETER TYPE OPTIONAL DESCRIPTION
client Client (opens new window) , Snowflake (opens new window) The client where this pagination will base on.
channel TextChannel (opens new window) , DMChannel (opens new window) , NewsChannel (opens new window) , ThreadChannel (opens new window) Where the client will send the pagination to.