async def bad( self, ctx, thing: typing.Union[discord.Member, discord.PartialEmoji, discord.Emoji, str] = None, ): async with ctx.channel.typing(): url = await self.get_url(ctx, thing) img = await dagpi.image_process(ImageFeatures.bad(), url) file = discord.File(fp=img.image, filename=f"pixel.{img.format}") await ctx.send(file=file)
async def dag_bad(self, ctx: Context, *, item=None): """ Bad image. """ meth = await self.do_dagpi(ctx, ImageFeatures.bad(), item, True) await self.dag_embed(ctx, meth, ctx.command.name)