From ca0b4ecf005e1c1f4066460a45393ebffef1ef1c Mon Sep 17 00:00:00 2001 From: Samlon Date: Mon, 11 Aug 2025 17:39:21 +0200 Subject: more logging --- cogs/math.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cogs/math.py') diff --git a/cogs/math.py b/cogs/math.py index a837ed9..123d7d0 100644 --- a/cogs/math.py +++ b/cogs/math.py @@ -19,6 +19,7 @@ class Math(commands.Cog): try: math = subprocess.check_output(f"qalc -e {equation}", shell=True) await ctx.respond(f"{equation} = {math.decode('utf-8').strip()}") + logger.info(f"Math command executed: {equation}") except Exception as e: await ctx.respond(e, ephemeral=True) logger.error(f"Error in math command: {e}", exc_info=True) -- cgit v1.2.3