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):
	await ctx.respond(file=await client.asyncFile())

@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.0.1.tar.gz (3.4 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.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: randseal-2.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for randseal-2.0.1.tar.gz
Algorithm Hash digest
SHA256 b9736b4f42f98dab8fee277773338f6818f924cb4f42c27d5d1cb1e202e2dfa6
MD5 5fed966be6b729fbd2e87b9332f04cd8
BLAKE2b-256 f0ffa919ccd04c6888e2bb9097550ed3341a5a8be1407f9f67c5bf4e42ea62c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randseal-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for randseal-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9eace01a2ec63976c56159a9bb3b055bad17aa1505929cd72905f7fb3841d7ed
MD5 9c860dc98375f282b1ae7469f1eeb458
BLAKE2b-256 f9baf7f54f0132a4b775ad77111fd6de46da321dc8572a0af4786d0876025205

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