New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-py-paginators

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-py-paginators

Extension for discord.py that provides various paginators.

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

.. discord-py-paginators documentation master file, created by sphinx-quickstart on Tue Dec 26 17:07:44 2023. You can adapt this file completely to your liking, but it should at least contain the root toctree directive.

Welcome to discord-py-paginators's documentation!

Extension for discord.py that provides various paginators.

Installation

Stable

.. code-block:: bash

python -m pip install discord-py-paginators

Dev

.. note:: This requires git <https://git-scm.com/>_ to be installed on your system.

.. code-block:: bash

  python -m pip install -U "discord-py-paginators @ git+https://github.com/Soheab/discord-py-paginators"

Usage

.. code-block:: python

import discord from discord.ext import commands from discord.ext.paginators.button_paginator import ButtonPaginator

bot = commands.Bot(command_prefix=commands.when_mentioned, intents=discord.Intents(guilds=True, messages=True))

@bot.command() async def paginate(ctx): list_with_many_items = list(range(100)) paginator = ButtonPaginator(list_with_many_items, author_id=ctx.author.id) await paginator.send(ctx) # Enjoy!

bot.run("token")

Examples

Examples can be found in the examples directory <https://github.com/Soheab/discord-py-paginators/tree/main/examples>_.

  • Documentation <https://discord-py-paginators.readthedocs.io/en/latest/>_
  • Source code <https://github.com/Soheab/discord-py-paginators>_
  • Discord server <https://discord.gg/yCzcfju>_

Contact

Send a DM on discord at Soheab_, join the discord server or ping me in the discord.py server <https://discord.gg/dpy>_.

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc