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
Built Distribution
File details
Details for the file dinteractions_Paginator-1.0.1.tar.gz
.
File metadata
- Download URL: dinteractions_Paginator-1.0.1.tar.gz
- Upload date:
- Size: 14.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f861951f72edc8418c7d94607d19cc59b237ca96c2e4668b100f9da8d8b0d6 |
|
MD5 | 95228121973a49c427b65dbbae41164b |
|
BLAKE2b-256 | 6beed1f0355010daa4b8b66a6b3803427e44ae235b50fe6e5637349bbcbd1421 |
File details
Details for the file dinteractions_Paginator-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: dinteractions_Paginator-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 2, Python 3
- 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd166a160039e3dddebeff1c9f7c8c1c3536e32d0241857e6ea75aa308ce40ff |
|
MD5 | ca754c214a76c781e3b631623799ee28 |
|
BLAKE2b-256 | 0640723bfd056ec0df5c0b8fea37c9ebba77ea17a19b4ddd735c591570fb47d0 |