Skip to main content
A simple to use, highly customizable, Interactive Session and Paginator for discord.py.
Still in alpha stages, and rapid production. Feel free to suggest something via Discord.

Support
---------------------------
For support using Buttons, please join the official `support server
<http://discord.gg/JhW28zp>`_ on `Discord <https://discordapp.com/>`_.

Installation
---------------------------
**Buttons requires Python 3.6 or higher.**

**Windows**

.. code:: sh

py -version -m pip install buttons

**Linux**

.. code:: sh

python3 -m pip install buttons

Getting Started
----------------------------
A quick and easy paginator example:

.. code:: py
from discord.ext import commands
from discord.ext import buttons


class MyPaginator(buttons.Paginator):

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

@buttons.button(emoji='\u23FA')
async def record_button(self, ctx):
await ctx.send('This button sends a silly message! But could be programmed to do much more.')

@buttons.button(emoji='my_custom_emoji:1234567890')
async def silly_button(self, ctx):
await ctx.send('Beep boop...')


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


@bot.command()
async def test(ctx):
pagey = MyPaginator(title='Silly Paginator', colour=0xc67862, embed=True, timeout=90, use_defaults=True,
entries=[1, 2, 3], length=1, format='**')

await pagey.start(ctx)


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


bot.run('TOKEN')


Metadata

Release files for buttons 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for buttons 0.0.4
File Size Uploaded
buttons-0.0.4.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for buttons 0.0.4
File Interpreter ABI Platform
buttons-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / buttons-0.0.4.tar.gz

Download URL buttons-0.0.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fda5d4805e43007e548493b3c88ead4cdd77bd56a768522806b4e65a06b73171
BLAKE2b-256 checksum
How to use checksums
d76a38a9769a50c7c8f1ba1673f6c3e76d8345c11ab1b153d60cc45f275b5175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0b4

Release files / buttons-0.0.4-py3-none-any.whl

Download URL buttons-0.0.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94b4aaf6d5294d0d6286907bc5fe6cfbcc6f5200c04eed38f6648ca56733a00c
BLAKE2b-256 checksum
How to use checksums
cea88f8d6bb8194fcdc02bafc23cb6b80b06182591737d05aafee1954b3440c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0b4

Release history Release notifications | RSS feed

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page