Generates a random seal image for discord.py or 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 discord.py or py-cord.
Usage example. Bot can be a commands.Bot in discord.py or a discord.Bot in py-cord.
import randseal
bot = Bot(intents=discord.Intents.default())
client = randseal.Client()
@bot.command()
async def sealimg(ctx):
file=await client.asyncFile()
await ctx.respond(file=file)
@bot.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-3.0.1.tar.gz
(4.0 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-3.0.1.tar.gz.
File metadata
- Download URL: randseal-3.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
726afad89071a182409e20946b17daa2c8e1ea11c9e2b298c5d09af59ba43bab
|
|
| MD5 |
4cf7fe8b79a5bae3d7105891d0b85383
|
|
| BLAKE2b-256 |
8769dc235c6ec6f40e66f2e60a2d517bdb31941efc5d3cec1636b2668a496f61
|
File details
Details for the file randseal-3.0.1-py3-none-any.whl.
File metadata
- Download URL: randseal-3.0.1-py3-none-any.whl
- Upload date:
- Size: 5.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 |
19c2c6211a57845b0b06b5b79d24ca31a9a1630576e32d046a4dc5d991f02298
|
|
| MD5 |
d42efd988b85f6da1e8bb58aa3ab044d
|
|
| BLAKE2b-256 |
c81b100a49ca68bd01b2f6e65bc5e4c7e75ea690132df228a17300dc10aeae87
|