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
Close
Hashes for discord_components_paginator-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec1e2f2cd26e485384f56d4e929ea87862120ca0bd1b8fff9352c7b319c54e8 |
|
MD5 | 5aef2968cc01334f3c8bf763e791dcdc |
|
BLAKE2b-256 | b159152cf5f2150dfcaae47833e87d29240329d35bcd09df688f3ea5f8bbfc01 |
Close
Hashes for discord_components_paginator-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 022a82bc62006c39880344b020a374ae478a1f5b80209baa8054a77b5d4eba07 |
|
MD5 | 57553a88507241e7efbfa5dc314b76e7 |
|
BLAKE2b-256 | 82c9d9843b1d07462449b3a77bafb2f0587252ec928e2031e5a18eee9242306d |