Skip to main content

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


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.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

randseal-2.2.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file randseal-2.2.0.tar.gz.

File metadata

  • Download URL: randseal-2.2.0.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

Hashes for randseal-2.2.0.tar.gz
Algorithm Hash digest
SHA256 ba0712efef17dd76b38ce3b75b46cdc7fe7e2e58135ace77cc22285f10201101
MD5 6570abb2fdf5c1ca5ce4ee45b9e72d22
BLAKE2b-256 4286b8c81fefe1e2cedbb2d533646046b79f73ab3b43132b9f966b22ffcfbbe6

See more details on using hashes here.

File details

Details for the file randseal-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: randseal-2.2.0-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

Hashes for randseal-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b853acb6dc86380920f5dbb5e2e478009b64b13e0c79da04a186423c154cd142
MD5 e3fc71f19b54ba377c54729ad11a2a01
BLAKE2b-256 e50bf60d0d1084a7d6363b707f146dd389fb825ea14d86c0342aeb4992321c7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page