Skip to main content

Generates random seal images 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
import discord

bot = discord.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.3.0.tar.gz (6.5 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.3.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for randseal-3.3.0.tar.gz
Algorithm Hash digest
SHA256 3e0a686add2a8e0d1b38cde911394b0033a88d6542ee4544de885860ac2e5fce
MD5 e2644e390dbbee28997bd1c2735c36f7
BLAKE2b-256 52987cfbe06f2b7cd9b8cec21a4deb1d6e624d21365e9f37c28086f0ce19ffda

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for randseal-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a4cfe397bd5c671c7a7f016618f68b6bec5ab7030c7606d1e94043cba8b39bd
MD5 414a12c31fd9c807231c2d14cbc9a815
BLAKE2b-256 1036e6a21328f77958af38bdc26391150e4f631ee5962b2026d6f7fd7f39322a

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