Skip to content

A simple to use, interactive session and paginator with custom buttons for discord.py built on github.com/EvieePy/buttons.

License

Notifications You must be signed in to change notification settings

0sir1ss/buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Buttons requires Python 3.6 or higher.

Windows

py -version -m pip install git+https://github.com/0sir1ss/buttons.git

Linux

python3 -m pip install git+https://github.com/0sir1ss/buttons.git

Getting Started

A quick and easy paginator example:

import discord
from discord.ext import commands
from discord.ext.buttons import Paginator


bot = commands.Bot(command_prefix=';')


@bot.command()
async def test(ctx):
    pag = Paginator(
                    title='Paginator +', colour=discord.Colour.blurple(), entries=[1, 2, 3], length=1, format='**',
                    footer='more options!', author='0sir1s#0669', author_url='https://cdn.glassbot.club/glass.png'
                    )

    await pag.start(ctx)


@bot.event
async def on_ready():
    print('Ready!')


bot.run('TOKEN')

About

A simple to use, interactive session and paginator with custom buttons for discord.py built on github.com/EvieePy/buttons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages