1.1.21 • Published 3 years ago
pagekeeper v1.1.21
🎉Pagekeeper
Pagekeeper is a fully customizable pager system for Discord messages! This can be useful for things like help commands, music bots, and more. It was built with discord.js. I'd suggest not using this for older versions, but you are free to try. For any help, visit my discord!
🎨 Installation
npm i pagekeeper
or npm install pagekeeper
📚 Example
const { Client, MessageEmbed } = require("discord.js");
const { pager } = require("pagekeeper"); // Requiring the package!
const client = new Client();
client.on("message", message => {
if (message.content === "!pages") {
const embedOne = new MessageEmbed()
.setColor("RANDOM")
.setTitle("Embed One");
const embedTwo = new MessageEmbed()
.setColor("RANDOM")
.setTitle("Embed Two");
const pages = [
embedOne,
embedTwo
]; // Inputting our pages!
const emojis = [
"🔄",
"◀️",
"▶️",
"⏸️"
]; // Inputting our emojis! (these are the defaults, they're customizable)
pager(message, pages, emojis); // This will start the process!
};
});
📌 Explanations:
1.1.21
3 years ago
1.1.20
3 years ago
1.1.19
3 years ago
1.1.18
3 years ago
1.1.17
3 years ago
1.1.16
3 years ago
1.1.15
3 years ago
1.1.14
3 years ago
1.1.13
3 years ago
1.1.12
3 years ago
1.1.11
3 years ago
1.1.10
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.0
3 years ago