Explorar el Código

pride flag filter filenames fixed.

tags/v2.0.0
Roxie Gibson hace 5 años
padre
commit
055e63703e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      roxbot/cogs/image.py

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

@@ -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)

Cargando…
Cancelar
Guardar