Skip to main content

Generates a random seal image for py-cord

Reason this release was yanked:

just doesnt work

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
from discord import Bot, Embed

bot = Bot(intents=discord.Intents.default())

@bot.slash_command()
async def sealimg(ctx):
	await ctx.respond(file=ranseal.get.file())

@bot.slash_command()
async def sealembed(ctx, title):
	embed = discord.Embed(colour=randseal.utils.blank(), title=title)
	await ctx.respond(embed=ranseal.get.embed(embed=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-1.4.1.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

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

randseal-1.4.1-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for randseal-1.4.1.tar.gz
Algorithm Hash digest
SHA256 3d49a5dafcedc2e8e4b2b1b8a39512e7a2221ae91c4fbf60937b9fb04b36fe30
MD5 cda04dfb09327d9c12a966e72f916084
BLAKE2b-256 463f6f64d88564525fd01389f1e102f147c5ef68b065ee5628c280fc18e27fa2

See more details on using hashes here.

File details

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

File metadata

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

Hashes for randseal-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c5ac5143dc8c568a583ea5aa9a148a4c6da608bf3cffedc2e141a24616bab47
MD5 ac2e71ee6d090f5d7e89dced4a9d8c04
BLAKE2b-256 d3eaf0f002127d0fd3bb1e83ad064af813573d36b9c89d7b5689ffcb03dd9bc4

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