From 6896fca5a0bc6cbe4ae82ca12737d814bcbb42c3 Mon Sep 17 00:00:00 2001 From: crate Date: Mon, 30 Sep 2024 20:53:41 +0000 Subject: [PATCH] add network utils print --- garfbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/garfbot.py b/garfbot.py index 5e5678b..9042624 100644 --- a/garfbot.py +++ b/garfbot.py @@ -238,6 +238,7 @@ async def on_message(message): try: query = message.content.split() target = query[-1] + print(f"Ping Request - User: {user}, Server: {server}, Target: {target}", flush=True) if is_private(target): rejection = await generate_chat_response("Hey Garfield, explain to me why I am dumb for trying to hack your private computer network.") await message.channel.send(rejection) @@ -251,6 +252,7 @@ async def on_message(message): try: query = message.content.split() target = query[-1] + print(f"NSLookup Request - User: {user}, Server: {server}, Target: {target}", flush=True) if is_private(target): rejection = await generate_chat_response("Hey Garfield, explain to me why I am dumb for trying to hack your private computer network.") await message.channel.send(rejection)