EasyDisnakePaginator
A package containing easy paginator for disnake
Examples
Creating a Paginator without embeds:
paginator = EasyDisnakePaginator.Create(title="Easy Disnake Paginator", segments=["1st message", "2nd messagge"], color=0x00ff00)
await paginator.start(ctx)
Creating a Paginator with embeds
paginator = EasyDisnakePaginator.Create(title="Easy Disnake Paginator", segments=[embed1, embed2], color=0x00ff00)
await paginator.start(ctx)
Arguments
title = The title of the embed (when the segments are str) [type:str]
segments = The pages of the paginator (supports str and disnake.Embed) [type: str or disnake.Embed]]
color = The color of the embed
prefix = The prefix text of every page in the embed (when the segments are str) [type: str]
suffix = The suffix text of every page in the embed (when the segments are str) [type:str]
target_page = The page that the paginator will display when created [type: int]
timeout = The amount of seconds after the paginator buttons will stop working [type: int]
button_style = The style of the buttons on the paginator [type: disnake.ButtonStyle]
invalid_user_function = The function that will be called when another user tries to use the paginator. By default it will show an embed unless any function is specified.[type function]
Useful Links:
Metadata
Release files for EasyDisnakePaginator 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| EasyDisnakePaginator-0.0.2.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| EasyDisnakePaginator-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / EasyDisnakePaginator-0.0.2.tar.gz
| Download URL | EasyDisnakePaginator-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5d9854e677608f1026d4a78e339d331137942e7b268390c2c623a611282cf68
|
|
BLAKE2b-256 checksum How to use checksums |
db1c4a8bbdc30eb356d2404b80d80f909784e4008c29149f92f1552c5497a87a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3
|
Release files / EasyDisnakePaginator-0.0.2-py3-none-any.whl
| Download URL | EasyDisnakePaginator-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f7814d255e4568b56557c882531a6bb16fe6ee028d11a1dbb9245ec6ac33355
|
|
BLAKE2b-256 checksum How to use checksums |
326878b5cf079519f23794f68dbc644ea8eb244547cba51a9dff23b081e8f648
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3
|