discord-py-paginators 0.2.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

discordpypaginators 0.2.1

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

Note
This requires git to be installed on your system.

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.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.


Links

Documentation
Source code
Discord server



Contact
Send a DM on discord at Soheab_, join the discord server or ping me in the discord.py server.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.