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

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-3.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3caa4a203068b4bf161917a104714d48e7f5dd89e262fc8feba926977a5f0104
MD5 f5ea607abac099f1277e489695c91178
BLAKE2b-256 9cca7090bb387a7cb394c6522142ee22a8589012dfbdca03b3cd0cf3e520961a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-3.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9fe208d2b4e507d754d7500ab30e770339d1f41fcdb9f0d97bb0e55c14087d
MD5 4d2d06518fc5d873866f113042a3fa83
BLAKE2b-256 a33aa3e8c8e4f12ecd93c47327989c1ee5451df55b8a1a04a72a9037fcfd3900

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