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.2.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.2.tar.gz.
File metadata
- Download URL: randseal-1.3.2.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 |
41e0dccb3134e44e0ba8a84fadf597d42d439598628df578cf2b66f06a794ae7
|
|
| MD5 |
f879eea373bddd9f65972419a2a3df4c
|
|
| BLAKE2b-256 |
5d6ef830b2a6bf672a780a47279eb986aa7a1b105d1e2a8d77ba604667c7489d
|
File details
Details for the file randseal-1.3.2-py3-none-any.whl.
File metadata
- Download URL: randseal-1.3.2-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 |
52fca6b79b0d06de52fee89cf72af573c6a844ff5d9d1cf1e4eed068e051a4c5
|
|
| MD5 |
1b0ead2d6a13ddc7c9577c5b048f84c7
|
|
| BLAKE2b-256 |
8300b41bfd8696719b11fa3900fe3948f9bd30cf4fe0ba3ace67f1a633d23bb5
|