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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord_components_paginator-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord_components_paginator-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for discord_components_paginator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dec1e2f2cd26e485384f56d4e929ea87862120ca0bd1b8fff9352c7b319c54e8
MD5 5aef2968cc01334f3c8bf763e791dcdc
BLAKE2b-256 b159152cf5f2150dfcaae47833e87d29240329d35bcd09df688f3ea5f8bbfc01

See more details on using hashes here.

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

Hashes for discord_components_paginator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 022a82bc62006c39880344b020a374ae478a1f5b80209baa8054a77b5d4eba07
MD5 57553a88507241e7efbfa5dc314b76e7
BLAKE2b-256 82c9d9843b1d07462449b3a77bafb2f0587252ec928e2031e5a18eee9242306d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page