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.0.tar.gz (4.1 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.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-3.0.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 a76d725675a9de632605d2c1d1b42c403fc43219da3fdca31bd3e9c80f7540d7
MD5 cc87c91ed1fbc863dde290d9883d926f
BLAKE2b-256 1f537e0dc113acc0ea178a0cee4bd53b57d4c4385f40374d5953d2e4cd51adaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d7dcb293a7d4cc5820db77b626d15f26d04b28c5c3a1a421af94e435db0ae51
MD5 3473d5709cb9b1e2f82778a83069c527
BLAKE2b-256 c56ca110495a2fbcdd414b485e437918015f3b164a41ccf3144cdfb2c4e5e773

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