From d23b49a77ec68f4f6100a9c7658e41ba3b493fa5 Mon Sep 17 00:00:00 2001 From: TanguyPcFixe Date: Wed, 1 Jul 2026 21:43:03 +0200 Subject: [PATCH] added logger for bot to discord --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index b2e7101..bf47dc8 100644 --- a/main.py +++ b/main.py @@ -404,6 +404,9 @@ async def setCarrierState(ctx, carrier, state): if response == 200: await ctx.followup.send(f"The carrier {carrier} has been set to {state}") print(f"{author} set {carrier} state to {state}") + channel = bot.get_channel(1521963883018063882) + await channel.send(f"{author} set {carrier} state to {state}") + else: await ctx.followup.send(f"i fucked up ") except Exception as e: