🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

discord-components-paginator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-components-paginator

Button paginator for discord-components library.

1.0.1
PyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts