From ed277d9f1f867f3f7832dfc5635c2862f3454a36 Mon Sep 17 00:00:00 2001 From: nex Date: Mon, 13 Nov 2023 19:43:22 +0000 Subject: [PATCH] Fix decoding issue --- cogs/other.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/other.py b/cogs/other.py index 81cbc73..547de72 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1893,7 +1893,7 @@ class OtherCog(commands.Cog): if context: try: - context_decoded = base64.b85decode(context).decode() + context_decoded = base64.b64decode(context).decode() context_decompressed = await asyncio.to_thread( functools.partial(zlib.decompress, context_decoded.encode()) ) @@ -2124,7 +2124,7 @@ class OtherCog(commands.Cog): ) end = time() compress_time_spent = format(round(end * 1000 - start * 1000), ",") - context: str = base64.b85encode(context_json_compressed).decode() + context: str = base64.b64encode(context_json_compressed).decode() else: compress_time_spent = "N/A" context = None