1.0.21 • Published 6 months ago

dsc-pagination v1.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

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.

1.0.21

6 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago