diff --git a/jarvis/cogs/image.py b/jarvis/cogs/image.py index 57a206d..ec98541 100644 --- a/jarvis/cogs/image.py +++ b/jarvis/cogs/image.py @@ -72,8 +72,10 @@ class ImageCog(commands.Cog): ratio = tgt_size / len(file) - 0.02 bufio = BytesIO(file) + accuracy = (len(file) / tgt_size) * 100 await ctx.send( - "New size: {}".format(convert_bytesize(len(file))), + "New size: {}".format(convert_bytesize(len(file))) + + "\nAccuracy: {}".format(accuracy), file=File(bufio, filename="resized.png"), )