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.3.0.tar.gz (3.7 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.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-2.3.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for randseal-2.3.0.tar.gz
Algorithm Hash digest
SHA256 cd8eb007db95e044a6d7e08878dbb6a57371bc2854e1d2c285c5fae4d626a8e3
MD5 626fa0b5a685632dc3366ecaf4986699
BLAKE2b-256 b97dd671e9cacba1f004c7ed93b75c142041e6b564b9c8e9c56cfe27e59a914e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 615021e887f79223ed4e1fd14fb53d99e451fbfafe2ff38e60d4097a64c8336f
MD5 327f34e4b333f6012c64d901897a8f8a
BLAKE2b-256 1e67706f4fac3d087eaacc1bc5c3a6a8f8ce87b35aaa70e4e9bebec238433392

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