Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
ez-paginator
Advanced tools
Make discord emoji page easy
npm install ez-paginator # Use yarn if you prefer to use yarn
Example:
// Assume that you're using discord.js
// Eris example and this same example are in example folder
const { Client } = require('discord.js');
const EZPaginator = require('../index');
const client = new Client();
client.on('message', async (msg) => {
if (msg.content.startsWith('> test')) {
const message = await msg.channel.send('Test');
const paginator = new EZPaginator({
client,
msg: message,
contents: ['Test', 'Another!']
});
paginator.start();
}
});
client.login('Your Token');
Paginator(options)
Paginator, make discord emoji page easy.
Constructor
Name | Type | Description |
---|---|---|
options | Object | Options |
Name | Type | Description |
---|---|---|
client | Object | Discord.js or Eris Client |
msg | Object | Message Class |
contents | Array.<string> | Contents |
embeds | Array.<Object> | Embeds (This will overrides contents) |
timeout | number | Reaction timeout |
reactions | Array.<string> | Reactions, first element will move page to prev, and second element will move to next. (If more reactions mode is enabled, first element will move page to first, second and third is same as normal reactions mode, and fourth element will move page to end.) |
moreReactions | boolean | Enables more reactions mode |
(async)
start()Start Function
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2020 Helloyunho
FAQs
Make discord emoji page easy
We found that ez-paginator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.