Install
$ pip install epicbot-images
Usage
Memes:
from epicbot_images import memes
@bot.command()
async def drake(ctx, first, second):
await ctx.reply(file=discord.File(memes.drake(first, second)))
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())))
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