@itznesbro/discord-js-paginator
v2.0.5
Published
Simple Discord.js Pagination Package
Downloads
10
Readme
NOTE: This Package Only Works On Discord.js V13
Install
npm i @itznesbro/discord-js-paginator
# or
yarn add @itznesbro/discord-js-paginator
# or
pnpm add @itznesbro/discord-js-paginator
Useage
const paginator = require("@itznesbro/discord-js-paginator");
const { MessageEmbed } = require("discord.js");
const embed1 = new MessageEmbed()
.setTitle("Page 1")
const embed2 = new MessageEmbed()
.setTitle("Page 2")
// Make An Array For Embeds
let pages = [
embed1,
embed2,
// More Embeds Here
]
paginator({ msg: message, pages: [embed1, embed2], emojiList: ['⏪', '⏪'], timeout: 120000 })
// EmojiList Default Value: ⏪ ⏩
Author
👤 ItzNesbro
- Website: itznesbro.vercel.app
- Twitter: @ItzNesbro
- Github: @ItzNesbroDev
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!