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 examples

import randseal
import discord

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

@bot.slash_command(description="Gets a random seal image")
async def sealimg(ctx):
	await ctx.respond(file=ranseal.file())

@bot.slash_command(description="Gets a random seal image")
async def sealembed(ctx):
	await ctx.respond(embed=ranseal.embed(title="Here is your seal!"))

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.3.4.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.3.4-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-1.3.4.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.3.4.tar.gz
Algorithm Hash digest
SHA256 6d58701a06c936b992f200556e9fbc19d5485fff7c090ee4ac48bf9e9d134da5
MD5 4c0d984162b23c9003231c4e754532de
BLAKE2b-256 e7b82da06647bcc2807edcf9b19abae1920ffae0acbc1e6274d554f4d11817fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-1.3.4-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.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7e766f3eb771d92096295b4cb7c82c54233c51640d13496354a3357c2a576587
MD5 684426f426b2d27a86b422c857e26a34
BLAKE2b-256 8299e38a42a34ec71a36fc9b21b61fd1dfdf8701e3163f39cc3a9dfe929d504e

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