Procházet zdrojové kódy

pride flag filter filenames fixed.

tags/v2.0.0
Roxie Gibson před 5 roky
rodič
revize
055e63703e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      roxbot/cogs/image.py

+ 2
- 2
roxbot/cogs/image.py Zobrazit soubor

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

Načítá se…
Zrušit
Uložit