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
File details
Details for the file discord.py-pagination-0.0.2.tar.gz
.
File metadata
- Download URL: discord.py-pagination-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e0afdf54ea60200100a1a10c883180afad211b09862dae8ad85528bf5dcf565 |
|
MD5 | 30b7c087296c1385a0cfaad6108edc96 |
|
BLAKE2b-256 | c1d0f9f6ba371496bb20db5e1bb2dfb3cc74ab50c2c4ed84109ba92765b1db10 |
File details
Details for the file discord.py_pagination-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: discord.py_pagination-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7477b55027a3f935679de112bf800d84ca6a828a4cc049b5aef4620af2bbed1f |
|
MD5 | 1a65246b3f05d9c46426b63f68b500c9 |
|
BLAKE2b-256 | cbd2268069e9d09ca500472254201c271156d91070dcddb2ba6bc3febfd31563 |
File details
Details for the file discord.py_pagination-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: discord.py_pagination-0.0.2-py2-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69578ffeea427aa43345cf26a965097896c6ca63de3fede2aa50e6521b7f9c90 |
|
MD5 | b91dac34b78fac917f645175732536b2 |
|
BLAKE2b-256 | 13259e6a5c7b9b98ea8ed5d880a8a03c8196b3a0158efc7e89f224cff4cb955c |