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

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-2.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 226a18adc1ef3f48de0ace03bd8a7bb625f3d51f531e59e2d6eafea8a756da17
MD5 1b2778407edbb5187a1edee3f0a5da75
BLAKE2b-256 9ee3cdf33243f1fe3961d2f793cad59ffa65c55bed7e294fac9affe81b33c241

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-2.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8339a5e0e9287a986f5da28e96ebcae34b90240a99b3dcda9b8fa77c23c079d2
MD5 d9a0a32b9273addceea1a6c2a0c8c50a
BLAKE2b-256 ff89215f11f530680e7bf728cd87aec841c8d05ac23d04525e2b554c40d5d5ff

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