Selaa lähdekoodia

pride flag filter filenames fixed.

tags/v2.0.0
Roxie Gibson 5 vuotta sitten
vanhempi
commit
055e63703e
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      roxbot/cogs/image.py

+ 2
- 2
roxbot/cogs/image.py Näytä tiedosto

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

Loading…
Peruuta
Tallenna