An package for discord pagination.
Project description
discord-ext-paginator
An package for discord pagination.
How to install
pip install discord-ext-paginator
Example
from discord.ext import paginator
def get_pages():
pages = []
# Generate a list of 5 embeds
for i in range(1, 6):
embed = discord.Embed()
embed.title = f"I'm the embed {i}!"
pages.append(embed)
return pages
@bot.command()
async def paginator(ctx):
pag = paginator.Paginator(pages=get_pages())
await pag.start(ctx)
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for discord-ext-paginator-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76298970c146ce90418168f52736c1eb27c6001cbf497038877fae632d2214de |
|
MD5 | dc7a0175ad07f0aded96c69041ae1cf9 |
|
BLAKE2b-256 | 45ed45d5426366f9b3aa122915bdbe82d08943032f9a2d1da4dce75b7b5c78b1 |
Close
Hashes for discord_ext_paginator-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5466577aec2ec46d4e9383cc64074a409080b8103795cea95a0c22207cb4507c |
|
MD5 | b50efa0e60753251dc328431b14d2fee |
|
BLAKE2b-256 | 5b795638da1fd3c3076ba16b52ecfe06c02838c09021599a2cbea5c2907de6bc |