Metadata-Version: 2.1
Name: disnake-pagination
Version: 1.0
Summary: A simple Embed Paginator for your projects made with disnake.
Home-page: https://github.com/DorianAarno/Paginator
Download-URL: https://github.com/DorianAarno/Paginator/archive/refs/tags/v1.0.tar.gz
Author: Aarno Dorian
Author-email: aarnodorian56@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Description-Content-Type: text/markdown
License-File: LICENSE

# Disnake Paginator
A simple Embed Paginator developed for projects made with [disnake](ttps://github.com/DisnakeDev/disnake), a fork of [discord.py](https://github.com/Rapptz/discord.py).

# Installation
You can use [pip](https://pip.pypa.io/en/stable/) to install this library.
```py
pip install disnake-paginate
```

# Usage
### Guide
```py
from Paginate 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(ctx, embeds, author_id, timeout))
```

# 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](https://github.com/DorianAarno/Paginator/blob/main/LICENSE) License.


