@discordx/pagination
    Preparing search index...

    Class Pagination<T>

    Type Parameters

    Index

    Constructors

    Properties

    collector?: InteractionCollector<
        ButtonInteraction<CacheType>
        | StringSelectMenuInteraction<CacheType>,
    >
    currentPage: number
    maxLength: number
    message?: Message<boolean>
    pages: T | PaginationItem[]

    Accessors

    Methods

    • Send pagination

      Returns Promise<
          {
              collector: InteractionCollector<
                  ButtonInteraction<CacheType>
                  | StringSelectMenuInteraction<CacheType>,
              >;
              message: Message;
          },
      >