Extension for discord.py that provides various paginators.
Project description
Welcome to discord-py-paginators’s documentation!
Extension for discord.py that provides various paginators.
Installation
Stable
python -m pip install discord-py-paginators
Dev
python -m pip install -U "discord-py-paginators @ git+https://github.com/Soheab/discord-py-paginators"
Usage
import discord
from discord.ext import commands
from discord.ext.paginators 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.
Links
Contact
Send a DM on discord at Soheab_, join the discord server or ping me in the discord.py server.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discord_py_paginators-0.3.0.tar.gz.
File metadata
- Download URL: discord_py_paginators-0.3.0.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c854faafdbef88ea59ab342c2bda887dc6e03a211d8031daeec80b53d1d0c25
|
|
| MD5 |
38d39f75ff53548e74fd0112e739858d
|
|
| BLAKE2b-256 |
db22a09069f1e6f0255c3c3045bfa68d9c3d7cbd0e12ec4d8aca95fa2c5653b4
|
Provenance
The following attestation bundles were made for discord_py_paginators-0.3.0.tar.gz:
Publisher:
python-publish.yml on Soheab/discord-py-paginators
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
discord_py_paginators-0.3.0.tar.gz -
Subject digest:
5c854faafdbef88ea59ab342c2bda887dc6e03a211d8031daeec80b53d1d0c25 - Sigstore transparency entry: 584357750
- Sigstore integration time:
-
Permalink:
Soheab/discord-py-paginators@e125a0574f3ba52eab8de2a6af7292a055818591 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/Soheab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e125a0574f3ba52eab8de2a6af7292a055818591 -
Trigger Event:
release
-
Statement type:
File details
Details for the file discord_py_paginators-0.3.0-py3-none-any.whl.
File metadata
- Download URL: discord_py_paginators-0.3.0-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b6939668877e1cffa0264d98c5525f26b7db5822b6a94b7e83461b1a306664c
|
|
| MD5 |
4337132a2dd053d88dc893c0294ee1ba
|
|
| BLAKE2b-256 |
80b4df377875cb3021b9859c473b109f2a6aa06eab90d3d30f2943dff19bf70b
|
Provenance
The following attestation bundles were made for discord_py_paginators-0.3.0-py3-none-any.whl:
Publisher:
python-publish.yml on Soheab/discord-py-paginators
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
discord_py_paginators-0.3.0-py3-none-any.whl -
Subject digest:
5b6939668877e1cffa0264d98c5525f26b7db5822b6a94b7e83461b1a306664c - Sigstore transparency entry: 584357751
- Sigstore integration time:
-
Permalink:
Soheab/discord-py-paginators@e125a0574f3ba52eab8de2a6af7292a055818591 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/Soheab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e125a0574f3ba52eab8de2a6af7292a055818591 -
Trigger Event:
release
-
Statement type: