Button paginator for discord-components library.
Project description
discord-components Button Paginator
Example
from discord_components_paginator import Paginator, PaginatorStyle
...
@bot.command()
async def paginator_command(ctx):
embeds = [
discord.Embed(title=f"Page {page}") for page in range(1, 6)
]
paginator = Paginator(bot, ctx, PaginatorStyle.FIVE_BUTTONS_WITH_COUNT, embeds)
await paginator.start()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file discord_components_paginator-1.0.1.tar.gz
.
File metadata
- Download URL: discord_components_paginator-1.0.1.tar.gz
- Upload date:
- Size: 3.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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec1e2f2cd26e485384f56d4e929ea87862120ca0bd1b8fff9352c7b319c54e8 |
|
MD5 | 5aef2968cc01334f3c8bf763e791dcdc |
|
BLAKE2b-256 | b159152cf5f2150dfcaae47833e87d29240329d35bcd09df688f3ea5f8bbfc01 |
File details
Details for the file discord_components_paginator-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: discord_components_paginator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 022a82bc62006c39880344b020a374ae478a1f5b80209baa8054a77b5d4eba07 |
|
MD5 | 57553a88507241e7efbfa5dc314b76e7 |
|
BLAKE2b-256 | 82c9d9843b1d07462449b3a77bafb2f0587252ec928e2031e5a18eee9242306d |