Skip to main content

Unofficial discord-interactions multi page embed handler

Project description

Paginator.py

Unnoficial discord-interactions paginator

Example

This simple example shows how to easily create interactive, multiple page embeds that annyone can interact with.

import discord
import discord_slash
from discord_slash import SlashCommand, SlashContext
from dinteractions_Paginator import Paginator

@slash.slash(name="command")
async def command(ctx:SlashContext)
embed1=discord.Embed(title="title")
embed2=discord.Embed(title="another title")
embed3=discord.Embed(title="yet another title")
pages=[embed1,embed2,embed3]

await Paginator(bot=bot,ctx=ctx,pages=pages,content="Hello there")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dinteractions_Paginator-1.0.2.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file dinteractions_Paginator-1.0.2.tar.gz.

File metadata

  • Download URL: dinteractions_Paginator-1.0.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for dinteractions_Paginator-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e11bad474deab488d20a0dff52ed0abf90a22d15c88e13b0c38079883d63c5fe
MD5 a7fd21cbe23d930299de9bdbe8d5ba1f
BLAKE2b-256 65c15f7046e349c7201085eef004ad914de8081e32cf4c015706e21fd59f8b1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page