Generates a random seal image for py-cord
Project description
randseal
Simple package that produces a seal image. The image is then output as a discord.File 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.1.3.tar.gz
(3.4 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.1.3.tar.gz.
File metadata
- Download URL: randseal-2.1.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d33bdbf40479d73518f555e7c8b091d020d50fee48d64f74b5954d0892cf7aaa
|
|
| MD5 |
4362ccddd09df52ce51291a51173c668
|
|
| BLAKE2b-256 |
c167381944e4205346b06bb4312e8e0852416c5276ee4ce1d579a1d271de1b1c
|
File details
Details for the file randseal-2.1.3-py3-none-any.whl.
File metadata
- Download URL: randseal-2.1.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cfb1035887686abf8dc1d63d45ddadeed6e4dc994b756849e6492592dc434ba
|
|
| MD5 |
2c39dff2629481f5ab5379915b5a43e5
|
|
| BLAKE2b-256 |
4e18b741bf55dc83537b36ccb220b4ea0e78363202403790381048a08ab29def
|