From eab3b5871c69abdcabb4d7b116668f880848b4bd Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Thu, 11 May 2023 19:00:41 +0100 Subject: [PATCH] Notify when compressing --- cogs/other.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cogs/other.py b/cogs/other.py index 810236d..25b8002 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1266,6 +1266,13 @@ class OtherCog(commands.Cog): st = file.stat().st_size if st / 1024 / 1024 >= MAX_SIZE_MB or st >= BYTES_REMAINING: if compress_if_possible: + await ctx.edit( + embed=discord.Embed( + title="Compressing...", + description=str(file), + colour=discord.Colour.blurple() + ) + ) target = file.with_name(file.name + '.compressed' + file.suffix) ffmpeg_command = [ "ffmpeg",