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

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-2.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a9c87e88541c2dc1a4f3c91f011d88703dfcece56fe54d310ba7934aa280ea90
MD5 b14778ce7b0cf4f04e035788ac02f532
BLAKE2b-256 285cf4fa786b7df22db50fb2af0293491b5ff570efec4e00a6a4074e27b6db81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-2.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88d42924abde16204771160483c545a5d3cb345538bebd1e5bcc7b5527a9a3e7
MD5 be4d811bfc3dbaebb98eef6203e30693
BLAKE2b-256 465e7aabf06b397954e24a93bc2e83c9ca82b4e01217a8ff11ba6b32ac967c7d

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