Button paginator using discord_components

Overview

Button Paginator

discord-components logoWith discord-components

Button paginator using discord_components

Welcome!

It's a paginator for discord-componets! Thanks to the original creator khk4912 (khk4912 /EZPaginator)!

This project is open source .

official discord server, so if you have a question, feel free to ask it on this server.

Install

pip install --upgrade ButtonPaginator

Example

from ButtonPaginator import Paginator
from discord.ext.commands import Bot
from discord_components import DiscordComponents
import discord

bot = Bot("your prefix")

@bot.event
async def on_ready():
    DiscordComponents(bot)
    print(f"Logged in as {bot.user}!")

@bot.command()
async def button(ctx):
    embeds = [discord.Embed(title="1 page"), discord.Embed(title="2 page"), discord.Embed(title="3 page"), discord.Embed(title="4 page"), discord.Embed(title="5 page")]
    e = Paginator(bot=bot,
                  ctx=ctx,
                  embeds=embeds,
                  only=ctx.author)
    await e.start()

bot.run("your token")

License

This project is under the MIT License.

Contribute

Anyone can contribute to this by forking the repository, making a change, and create a pull request!

But you have to follow these to PR.

Thanks to

  • khk4912 - Original Paginator developer
  • kiki7000 - componets lib developer
You might also like...
To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio and Selenium. It works on my Raspberry Pi computer.
To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio and Selenium. It works on my Raspberry Pi computer.

COVID-19_vaccine_appointment To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio a

A simple service that allows you to run commands on the server using text

Server Text A simple flask service that allows you to run commands on the server/computer over sms. Think of it as a shell where you run commands over

Reactjs web app written entirely in python, using transcrypt compiler.

Reactjs web app written entirely in python, using transcrypt compiler.

Checks for Vaccine Availability at your district and notifies you using E-mail, subscribe to our website.

Vaccine Availability Notifier Project Description Checks for Vaccine Availability at your district and notifies you using E-mail every 10 mins. Kindly

Simple GUI menu for micropython using a rotary encoder and basic display.

Micropython encoder based menu This is a simple menu system written in micropython. It uses a switch, a rotary encoder and an OLED display.

Decipher using Markov Chain Monte Carlo

Decipher using Markov Chain Monte Carlo

Solve various integral equations using numerical methods in Python

Solve Volterra and Fredholm integral equations This Python package estimates Volterra and Fredholm integral equations using known techniques. Installa

Animations made using manim-ce
Animations made using manim-ce

ManimCE Animations Animations made using manim-ce The code turned out to be a bit complicated than expected.. It can be greatly simplified, will work

sawa (ꦱꦮ) is an open source programming language, an interpreter to be precise, where you can write python code using javanese character.
sawa (ꦱꦮ) is an open source programming language, an interpreter to be precise, where you can write python code using javanese character.

ꦱꦮ sawa (ꦱꦮ) is an open source programming language, an interpreter to be precise, where you can write python code using javanese character. sawa iku

Releases(0.0.2)
  • 0.0.2(Jun 18, 2021)

    Button Paginator

    discord-components logoWith discord-components

    Button paginator using discord_components

    Welcome!

    It's a paginator for discord-componets! Thanks to the original creator khk4912 (khk4912 /EZPaginator)!

    This project is open source ⭐.

    official discord server, so if you have a question, feel free to ask it on this server.

    Install

    pip install --upgrade ButtonPaginator
    

    Example

    from ButtonPaginator import Paginator
    from discord.ext.commands import Bot
    from discord_components import DiscordComponents
    import discord
    
    bot = Bot("your prefix")
    
    @bot.event
    async def on_ready():
        DiscordComponents(bot)
        print(f"Logged in as {bot.user}!")
    
    @bot.command()
    async def button(ctx):
        embeds = [discord.Embed(title="1 page"), discord.Embed(title="2 page"), discord.Embed(title="3 page"), discord.Embed(title="4 page"), discord.Embed(title="5 page")]
        e = Paginator(bot=bot,
                      ctx=ctx,
                      embeds=embeds,
                      only=ctx.author)
        await e.start()
    
    bot.run("your token")
    

    License

    This project is under the MIT License.

    Contribute

    Anyone can contribute to this by forking the repository, making a change, and create a pull request!

    But you have to follow these to PR.

    Thanks to

    Source code(tar.gz)
    Source code(zip)
  • 0.0.1(May 31, 2021)

    Button Paginator

    discord-components logoWith discord-components

    Button paginator using discord_components

    Welcome!

    It's a paginator for discord-componets! Thanks to the original creator khk4912 (khk4912 /EZPaginator)!

    This project is open source ⭐.

    official discord server, so if you have a question, feel free to ask it on this server.

    Install

    pip install --upgrade ButtonPaginator
    

    Example

    from ButtonPaginator import Paginator
    from discord.ext.commands import Bot
    from discord_components import DiscordComponents
    import discord
    
    bot = Bot("your prefix")
    
    @bot.event
    async def on_ready():
        DiscordComponents(bot)
        print(f"Logged in as {bot.user}!")
    
    @bot.command()
    async def button(ctx):
        embeds = [discord.Embed(title="1 page"), discord.Embed(title="2 page"), discord.Embed(title="3 page"), discord.Embed(title="4 page"), discord.Embed(title="5 page")]
        e = Paginator(bot=bot,
                      ctx=ctx,
                      embeds=embeds,
                      only=ctx.author)
        await e.start()
    
    bot.run("your token")
    

    License

    This project is under the MIT License.

    Contribute

    Anyone can contribute to this by forking the repository, making a change, and create a pull request!

    But you have to follow these to PR.

    Thanks to

    Source code(tar.gz)
    Source code(zip)
Owner
Decave
Me!
Decave
Pre-crisis Risk Management for Personal Finance

Антикризисный риск-менеджмент личных финансов Риск-менеджмент личных финансов условиях санкций и/или финансового кризиса: делаем сегодня все, чтобы за

Dmitry Petukhov 593 Jan 09, 2023
Team10 backend - A service which accepts a VRM (Vehicle Registration Mark)

GreenShip - API A service which accepts a VRM (Vehicle Registration Mark) and re

3D Hack 1 Jan 21, 2022
A framework that let's you compose websites in Python with ease!

Perry Perry = A framework that let's you compose websites in Python with ease! Perry works similar to Qt and Flutter, allowing you to create componen

Linkus 13 Oct 09, 2022
Module-based cryptographic tool

Cryptosploit A decryption/decoding/cracking tool using various modules. To use it, you need to have basic knowledge of cryptography. Table of Contents

/SNESE_AR\ 33 Nov 27, 2022
🍕 A small app with capabilities ordering food and listing them with pub/sub pattern

food-ordering A small app with capabilities ordering food and listing them. Prerequisites Docker Run Tests docker-compose run --rm web ./manage.py tes

Muhammet Mücahit 1 Jan 14, 2022
libvcs - abstraction layer for vcs, powers vcspull.

libvcs - abstraction layer for vcs, powers vcspull. Setup $ pip install libvcs Open up python: $ python # or for nice autocomplete and syntax highlig

python utilities for version control 46 Dec 14, 2022
Pykeeb - A small Python script that prints out currently connected keyboards

pykeeb 🐍 ⌨️ A small Python script that detects and prints out currently connect

Jordan Duabe 1 May 08, 2022
A program that makes all 47 textures of Optifine CTM only using 2 textures

A program that makes all 47 textures of Optifine CTM only using 2 textures

1 Jan 22, 2022
Donatus Prince 6 Feb 25, 2022
The purpose of this script is to bypass disablefund, provide some useful information, and dig the hook function of PHP extension.

The purpose of this script is to bypass disablefund, provide some useful information, and dig the hook function of PHP extension.

Firebasky 14 Aug 02, 2021
Groupe du projet Python en 2TL2-4

Présentation Projet EpheCom Ce logiciel a été développé dans le cadre scolaire. EpheCom est un logiciel de communications - vocale et écrite - en temp

1 Dec 26, 2021
Imitate Moulinette written in Python

Imitate Moulinette written in Python

Pumidol Leelerdsakulvong 2 Jul 26, 2022
General Purpose Python Library by Techman

General Purpose Python Library by Techman

Jack Hubbard 0 Feb 09, 2022
flake8 plugin which checks that there is no use of sleep in the code.

flake8-sleep flake8 plugin which checks for use of sleep function. installation Using Pypi: pip install flake8-sleep flake8 codes Code Description SLP

1 Nov 26, 2021
Goddard A collection of small, simple strategies for Freqtrade

Goddard A collection of small, simple strategies for Freqtrade. Simply add the strategy you choose in your strategies folder and run. ⚠️ General Crypt

Shane Jones 118 Dec 14, 2022
Материалы для курса VK Углубленный Python, весна 2022

VK Углубленный Python, весна 2022 Материалы для курса VK Углубленный Python, весна 2022 Лекции и материалы (слайды, домашки, код с занятий) Введение,

10 Nov 02, 2022
Project based on pure python with OOP

Object oriented programming review Object oriented programming (OOP) is among the most used programming paradigms (if not the most common) in the indu

Facundo Abrahan Cerimeli 1 May 09, 2022
Gitlab py scripts

Gitlab py scripts The code can be used to gather the list of GitHub groups/projects and the permissions of the users in those groups/projects. group/p

Roghuchi 1 Aug 29, 2022
addon for blender to import mocap data from tools like easymocap, frankmocap and Vibe

b3d_mocap_import addon for blender to import mocap data from tools like easymocap, frankmocap and Vibe ==================VIBE================== To use

Carlos Barreto 97 Dec 07, 2022