Skip to main content

Generates a random seal image for discord.py or py-cord

Project description

randseal

Simple package that can produce a seal image. The image is then output as a discord.File or discord.Embed for discord.py or py-cord.

Usage example. Bot can be a commands.Bot in discord.py or a discord.Bot in py-cord.

import randseal

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

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

@bot.command()
async def sealembed(ctx):
  await ctx.respond(embed=client.Embed())

bot.run("token")

This package also contains several utility functions for making discord bots.

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-3.0.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

randseal-3.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for randseal-3.0.2.tar.gz
Algorithm Hash digest
SHA256 feccf417ec74d1298db3000a7887c73bf0641f68da0d7ae935b1f6018f5c25ae
MD5 64e614b3b9ce225250f32f4e155ad935
BLAKE2b-256 ef08a94b95cbdc914c12f314fa7525e928b56ad4db4b66557639be8ec8599bf3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for randseal-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f706ee7b802b25ac234d9b19d34e2458b46a74d704e0da2468deb23e89c75c7b
MD5 7658dca62e87be2930988bf5d7c94eaa
BLAKE2b-256 0fceb33626612ae251da00687b80669bea9753c51de0cc6a90fe69004bd6fb28

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