Skip to main content

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 example

import randseal
from discord import Bot, Intents

bot = Bot(intents=Intents.default())
client = randseal.Client()

@bot.slash_command()
async def sealimg(ctx):
	await ctx.respond(file=await client.asyncFile())

@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.1.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.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for randseal-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a0a0b55f0371c268d4e8513938170fe535c4592b229c6d1af3c9f538f7caeb66
MD5 fccaf9b3c7bb43cc2cafd528da3e8f89
BLAKE2b-256 f0d615d4b1230567122eeab0356b2aac05c2edc3ea764c2c901027616b5b0616

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.9

File hashes

Hashes for randseal-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 701e3dcb29deac3431c59ae143007be115da88b546149241132181f40186c20a
MD5 eb51122bc50a9a0cb6fcd44bbe0fb4e9
BLAKE2b-256 d81e85c3133021d4316286fe13d6183cc812b4209ba478275f3798cf2194ae6f

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