discord-botinator
    Preparing search index...

    Function embedPager

    • Allows for embeds to be arranged in a list for users to sift through. Use import('./pages/embedPager.ts').EmbedPager instead.

      Parameters

      • pages: EmbedBuilder[]

        Embeds

      • msg: InteractionSendable

        Interaction

      • ephemeral: boolean = false

        Should be ephemeral or not

      • content: string = ""

        Optional content to be added to the message

      • additionalButtons: ButtonBuilder[] = []

        Adds extra buttons to the message

      • callbacks: {
            [name: string]: (
                page: number,
                interaction: ButtonInteraction,
            ) => boolean | Promise<boolean>;
        } = {}

        Custom id indexed dictionary of button callbacks. This will be changed at some point to use QuickButton instead.

      Returns Promise<void>