From 41c27b5094956c11a3c4f18a3382ad1df0d6636e Mon Sep 17 00:00:00 2001 From: crate Date: Mon, 30 Sep 2024 19:56:10 +0000 Subject: [PATCH] fix ping --- garfbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garfbot.py b/garfbot.py index adbcf28..cc46273 100644 --- a/garfbot.py +++ b/garfbot.py @@ -226,7 +226,7 @@ async def on_message(message): query = message.content.split() target = query[-1] result = subprocess.run(['ping', '-c', '1', target], capture_output=True, text=True) - await message.channel.send(f`"Ping result for {target}: {result.stdout}`") + await message.channel.send(f"`Ping result for {target}: {result.stdout}`") except Exception as e: await message.channel.send(f"`GarfBot Error: {str(e)}`")