Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

epicbot-images

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epicbot-images

An image manipulation module for EpicBot.

  • 1.8
  • PyPI
  • Socket score

Maintainers
1

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


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

Support | Invite EpicBot | Vote EpicBot

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc