@discordx/pagination
    Preparing search index...

    Interface BasicPaginationOptions

    interface BasicPaginationOptions {
        componentType?: MessageComponentType;
        debug?: boolean;
        dispose?: boolean;
        ephemeral?: boolean;
        filter?: CollectorFilter<
            [
                | ButtonInteraction<CacheType>
                | StringSelectMenuInteraction<CacheType>
                | UserSelectMenuInteraction<CacheType>
                | RoleSelectMenuInteraction<CacheType>
                | MentionableSelectMenuInteraction<CacheType>
                | ChannelSelectMenuInteraction<CacheType>,
                Collection<
                    string,
                    | ButtonInteraction<CacheType>
                    | StringSelectMenuInteraction<CacheType>
                    | UserSelectMenuInteraction<CacheType>
                    | RoleSelectMenuInteraction<CacheType>
                    | MentionableSelectMenuInteraction<CacheType>
                    | ChannelSelectMenuInteraction<CacheType>,
                >,
            ],
        >;
        idle?: number;
        initialPage?: number;
        interactionResponse?: InteractionResponse<boolean>;
        itemsPerPage?: number;
        max?: number;
        maxComponents?: number;
        maxUsers?: number;
        onTimeout?: (page: number, message: Message) => void;
        time?: number;
    }

    Hierarchy (View Summary)

    • MessageCollectorOptionsParams<MessageComponentType>
    Index

    Properties

    componentType?: MessageComponentType
    debug?: boolean

    Debug log

    dispose?: boolean
    ephemeral?: boolean

    Set ephemeral response

    filter?: CollectorFilter<
        [
            | ButtonInteraction<CacheType>
            | StringSelectMenuInteraction<CacheType>
            | UserSelectMenuInteraction<CacheType>
            | RoleSelectMenuInteraction<CacheType>
            | MentionableSelectMenuInteraction<CacheType>
            | ChannelSelectMenuInteraction<CacheType>,
            Collection<
                string,
                | ButtonInteraction<CacheType>
                | StringSelectMenuInteraction<CacheType>
                | UserSelectMenuInteraction<CacheType>
                | RoleSelectMenuInteraction<CacheType>
                | MentionableSelectMenuInteraction<CacheType>
                | ChannelSelectMenuInteraction<CacheType>,
            >,
        ],
    >
    idle?: number
    initialPage?: number

    Initial page (default: 0)

    interactionResponse?: InteractionResponse<boolean>
    itemsPerPage?: number

    Number of items shown per page in select menu

    max?: number
    maxComponents?: number
    maxUsers?: number
    onTimeout?: (page: number, message: Message) => void

    Pagination timeout callback

    time?: number