Generates a random seal image for py-cord
Project description
randseal
Simple package that can produce a seal image. The image is then output as a discord.File or discord.Embed for Pycord.
Usage example
import randseal
from discord import Bot, Intents
bot = Bot(intents=Intents.default())
client = randseal.Client()
@bot.slash_command()
async def sealimg(ctx):
file=await client.asyncFile()
await ctx.respond(file=file)
@bot.slash_command()
async def sealembed(ctx):
await ctx.respond(embed=client.Embed())
bot.run("token")
This package also contains several utility functions for making discord bots.
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
randseal-2.4.1.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file randseal-2.4.1.tar.gz.
File metadata
- Download URL: randseal-2.4.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc9abf91940004982318c3476e4ac8ee8cac1120e31cf38fab172a9e5d06033
|
|
| MD5 |
5727dd3670d3e0e460d4f67c43347b81
|
|
| BLAKE2b-256 |
37a5d6eeeeb29dee36c03f1c375e58f86cde969848cc77dce3f1e9c7bb360146
|
File details
Details for the file randseal-2.4.1-py3-none-any.whl.
File metadata
- Download URL: randseal-2.4.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2283bc1cc305bbd28141850785f347ca9dbf0caf31dad3a265ec1e0791453dfb
|
|
| MD5 |
90fa1bf73e763af7e4a262ee9ce58982
|
|
| BLAKE2b-256 |
5d3a504e3a107cc786b2dd0617ce2819b1a65c1c9fb2b2a2011c651dd5e763f3
|