PyWaifu is a simple package that shows cute waifus
Project description
PyWaifu
PyWaifu is a simple package that shows cute waifus
# Simple example
import pywaifu
print(pywaifu.waifu())
> Parameters
- waifu()
# Returns a random image link
import pywaifu
print(pywaifu.waifu())
- version
# Returns the package version
import pywaifu
print(pywaifu.__version__)
###Basic example in a discord bot
import discord
import pywaifu
bot = discord.Bot()
@bot.slash_command()
async def waifu(ctx):
result = pywaifu.waifu()
await ctx.respond(result)
bot.run('your_secret_token')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyWaifu-1.0.0.tar.gz
(18.1 kB
view details)
File details
Details for the file PyWaifu-1.0.0.tar.gz.
File metadata
- Download URL: PyWaifu-1.0.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
722218cde8259553b3cdb2d867d530b771b3870d5b7d43412c3de5fad791a444
|
|
| MD5 |
ce12803d550002e8d829435af17351a6
|
|
| BLAKE2b-256 |
71720b85055ec65fc5f5a864e62179e6e5596a4edc9300dfdcefb9fa1647a6e4
|