Ver código fonte

pride flag filter filenames fixed.

tags/v2.0.0
Roxie Gibson 5 anos atrás
pai
commit
055e63703e
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      roxbot/cogs/image.py

+ 2
- 2
roxbot/cogs/image.py Ver arquivo

@@ -374,7 +374,7 @@ class ImageEditor:

flag = PrideFlags.gf()
async with ctx.typing():
file = await self.flag_filter("pan", flag, image)
file = await self.flag_filter("gf", flag, image)
output = await ctx.send(file=file)
os.remove(file.filename)
await self.image_logging(ctx, output)
@@ -394,7 +394,7 @@ class ImageEditor:

flag = PrideFlags.agender()
async with ctx.typing():
file = await self.flag_filter("gf", flag, image)
file = await self.flag_filter("agender", flag, image)
output = await ctx.send(file=file)
os.remove(file.filename)
await self.image_logging(ctx, output)

Carregando…
Cancelar
Salvar