dsc-pagination
TypeScript icon, indicating that this package has built-in type declarations

1.0.21 • Public • Published

Discord paginator

This is a module for Discord pagination embeds

Doc

To use the paginator, simply use it like so :

const { Paginator } = require('dsc-pagination');

const paginator = new Paginator({
    interaction: /* The command interaction goes here */,
    embeds: /* The embed pages goes here */,
    user: /* the only user allowed to interact goes here */
})

And you can add more options in the initialisation of the paginator

Propreties

You have access to only two propreties of the paginator : index (wich is the current index of the embeds) and stop(), wich is a function that stop the paginator.

/dsc-pagination/

    Package Sidebar

    Install

    npm i dsc-pagination

    Weekly Downloads

    1

    Version

    1.0.21

    License

    MIT

    Unpacked Size

    11.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • greenskywastaken