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 examples
import randseal
import discord
bot = discord.Bot(intents=discord.Intents.default())
@bot.slash_command(description="Gets a random seal image")
async def sealimg(ctx):
await ctx.respond(file=ranseal.file())
@bot.slash_command(description="Gets a random seal image")
async def sealembed(ctx):
await ctx.respond(embed=ranseal.embed(title="Here is your seal!"))
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-1.3.5.tar.gz
(3.3 MB
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-1.3.5.tar.gz.
File metadata
- Download URL: randseal-1.3.5.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b2fefee412365ffc8f443a4a934e08a47fb00092763905c34c7a388702d684b
|
|
| MD5 |
049ced5664d26e08f2ba94a4ffbbc64f
|
|
| BLAKE2b-256 |
8fe1228b8af5c97355731361a20781a9f190eb64fcc145d0873993e6f169af42
|
File details
Details for the file randseal-1.3.5-py3-none-any.whl.
File metadata
- Download URL: randseal-1.3.5-py3-none-any.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a058d63623bcc8fd2e965486bb39e042e46e2a9c3869c4f758c9c93b9d9f1496
|
|
| MD5 |
0be547b424802e11dac5bcac2afb117c
|
|
| BLAKE2b-256 |
86e7263da4b931759c2c86908fcd535d524058054b4826f3fc8edf8485c9016c
|