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")
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.2.1.tar.gz
(3.3 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.2.1.tar.gz.
File metadata
- Download URL: randseal-2.2.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f630a3bfef962d429340206e3149eb0d3a6a4225c5d795a5e6087e34d8ca90b
|
|
| MD5 |
4a17d43183b55a81e50b868b47d9b1e1
|
|
| BLAKE2b-256 |
07af2819feeb74054089ea8111ff073129b72a21be409bf9eb51a7092d82e33b
|
File details
Details for the file randseal-2.2.1-py3-none-any.whl.
File metadata
- Download URL: randseal-2.2.1-py3-none-any.whl
- Upload date:
- Size: 4.3 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 |
ed5ce238d695fcb3865394771d0b297feb19032dd31c0cc984976cccc59eb730
|
|
| MD5 |
de98ce0d64d831348916f924a893656e
|
|
| BLAKE2b-256 |
e91a1016ec8a39fe5df59d6d7a044ebbfc6e9f9920888452a79ba5b4f76f2362
|