Install
$ pip install epicbot-images
Usage
Memes:
from epicbot_images import memes
# for a discord bot
@bot.command()
async def drake(ctx, first, second):
await ctx.reply(file=discord.File(memes.drake(first, second)))
# it's so easy to use
Effects:
from epicbot_images import effects
@bot.command()
async def blur(ctx, user: discord.User):
await ctx.reply(file=discord.File(effects.blur(await user.avatar.read())))
# 1 line go brr
Advanced Usage (recommended):
from epicbot_images import effects
from functools import partial
@bot.command()
async def wiggle(ctx, user: discord.User):
await ctx.reply(file=discord.File(
await bot.loop.run_in_executor(None, partial(effects.wiggle, img=await user.avatar.read()))
))
I won't be making docs for these, refer to the source code or ask in the support server if you have any questions
Meme templates
drake,disappointed,flex_tape,bernie,panik,doge,my_heart
Effects
blur,flip,rotate,enhance,ascii,blend,wiggle
Links
Support | Invite EpicBot | Vote EpicBot
Metadata
Release files for epicbot-images 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| epicbot-images-1.8.tar.gz | 3.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| epicbot_images-1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 MB
Release files / epicbot-images-1.8.tar.gz
| Download URL | epicbot-images-1.8.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c4cda2cf9d9fd25f54397445090b1a9a765fe821c5df27c9d2f3defea8b5c91
|
|
BLAKE2b-256 checksum How to use checksums |
ee5e0b66acc88dd129cee48761ed6d6b5fd59eb4970c964053b6527ccb18ffc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
|
Release files / epicbot_images-1.8-py3-none-any.whl
| Download URL | epicbot_images-1.8-py3-none-any.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e069dc90bfae72a539ac987b3a9728ab745d1b00a5f9ae8aa0686fad885b1ca
|
|
BLAKE2b-256 checksum How to use checksums |
f1274fcd75c0227c762e34ed1c6c7718c62bef4002b3edeabd7ba6433dd77313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
|