Skip to main content

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()

Metadata

Release files for discord-components-paginator 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discord-components-paginator 1.0.1
File Size Uploaded
discord_components_paginator-1.0.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discord-components-paginator 1.0.1
File Interpreter ABI Platform
discord_components_paginator-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / discord_components_paginator-1.0.1.tar.gz

Download URL discord_components_paginator-1.0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dec1e2f2cd26e485384f56d4e929ea87862120ca0bd1b8fff9352c7b319c54e8
BLAKE2b-256 checksum
How to use checksums
b159152cf5f2150dfcaae47833e87d29240329d35bcd09df688f3ea5f8bbfc01
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / discord_components_paginator-1.0.1-py3-none-any.whl

Download URL discord_components_paginator-1.0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
022a82bc62006c39880344b020a374ae478a1f5b80209baa8054a77b5d4eba07
BLAKE2b-256 checksum
How to use checksums
82c9d9843b1d07462449b3a77bafb2f0587252ec928e2031e5a18eee9242306d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page