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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for dinteractions_Paginator-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e11bad474deab488d20a0dff52ed0abf90a22d15c88e13b0c38079883d63c5fe |
|
MD5 | a7fd21cbe23d930299de9bdbe8d5ba1f |
|
BLAKE2b-256 | 65c15f7046e349c7201085eef004ad914de8081e32cf4c015706e21fd59f8b1f |