From 280553df0e32c4c3ae13e9fff8b309802d0ce38a Mon Sep 17 00:00:00 2001 From: TanguyPcFixe Date: Tue, 15 Jul 2025 18:04:30 +0200 Subject: [PATCH] fixed time on logging --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index d2f3d80..5c56892 100644 --- a/main.py +++ b/main.py @@ -74,8 +74,8 @@ async def delivery(ctx, try: response = requests.post(gsheetToken, json.dumps(data), headers={"Content-Type": "application/json"}) if response.status_code == 200: - await ctx.followup.send(f"your delivery of {quantity} of {commodity} to a {target} has been added to the sheet!") - print(f"[dt.isoformat(dt.now())]{author} delivery of {quantity} of {commodity} to a {target}") + await ctx.followup.send(f"your delivery of {quantity} of {commodity} to a {target} has been added to the sheet!") + print(f"[{dt.isoformat(dt.now())}]{author} delivery of {quantity} of {commodity} to a {target}") else: await ctx.followup.send(f"Failed to log delivery (HTTP {response.status_code}). Please contact the yellow people if that keeps happening") except Exception as e: