From caa3c988d4e0b43de45386ec448a955316b3d3ea Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 24 Aug 2023 14:41:43 +1000 Subject: [PATCH] bot: Fixed parsing --- discord-bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord-bot/bot.py b/discord-bot/bot.py index 418c5a2..f17d4ae 100644 --- a/discord-bot/bot.py +++ b/discord-bot/bot.py @@ -82,7 +82,7 @@ async def siteinfo(ctx, domain: str): if r.status_code == 200: json = r.json() if json['success'] == "true": - await ctx.response.send_message(f"Site: {domain}\nStatus: {json['status']}\nWorker: {json['worker']}") + await ctx.response.send_message(f"Here is the site info for {json['domain']}\nIP: {json['ip']}\nTLSA: {json['tlsa']}") else: await ctx.response.send_message(f"Error getting site info\n" + json['error']) else: