Easily create pagination for your embeds.
Project description
discord.py-pagination
discord.py-pagination is a Python library to easily create embed paginators.
Installation
Use the package manager pip to install foobar.
pip install discord.py-pagination
Usage
Quickstart
import Paginator
# Create a list of embeds to paginate.
embeds = [discord.Embed(title="First embed"),
discord.Embed(title="Second embed"),
discord.Embed(title="Third embed")]
... # Inside a command.
await Paginator.Simple().start(ctx, pages=embeds)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for discord.py-pagination-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e0afdf54ea60200100a1a10c883180afad211b09862dae8ad85528bf5dcf565 |
|
MD5 | 30b7c087296c1385a0cfaad6108edc96 |
|
BLAKE2b-256 | c1d0f9f6ba371496bb20db5e1bb2dfb3cc74ab50c2c4ed84109ba92765b1db10 |
Close
Hashes for discord.py_pagination-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7477b55027a3f935679de112bf800d84ca6a828a4cc049b5aef4620af2bbed1f |
|
MD5 | 1a65246b3f05d9c46426b63f68b500c9 |
|
BLAKE2b-256 | cbd2268069e9d09ca500472254201c271156d91070dcddb2ba6bc3febfd31563 |
Close
Hashes for discord.py_pagination-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69578ffeea427aa43345cf26a965097896c6ca63de3fede2aa50e6521b7f9c90 |
|
MD5 | b91dac34b78fac917f645175732536b2 |
|
BLAKE2b-256 | 13259e6a5c7b9b98ea8ed5d880a8a03c8196b3a0158efc7e89f224cff4cb955c |