Paginator
A simple embed paginator built for projects made with disnake.
Install / Use
/learn @DorianAarno/PaginatorREADME
Disnake Paginator
A simple Embed Paginator developed for projects made with disnake, a fork of discord.py.
Installation
You can use pip to install this library.
pip install disnake-pagination
Usage
Guide
from Paginator import CreatePaginator
from disnake import Embed
embeds = [
Embed(description="First Embed"),
Embed(description="Second Embed"),
Embed(description="Third Embed"),
Embed(description="Fourth Embed")
]
timeout = 120.0 # Optional
author_id = ctx.author.id # Optional, If not specified, anyone can interact with pagination buttons.
await ctx.send(embed=embeds[0], view=CreatePaginator(embeds, author_id, timeout))
Example
You may view implementation of this library in PointsBot.
Contributing
- Pull requests and issues are welcome.
- Consider giving this repository a ⭐, It is highly appreciated!
License
This repository has been made available via MIT License.
Related Skills
imsg
351.8kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
discord
351.8kDiscord ops via the message tool (channel=discord).
