From 3a9f8a88441400ca6f6508f1dda42efd5d5658d6 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 24 Aug 2023 14:50:20 +1000 Subject: [PATCH] bot: Updated site info instructions --- 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 f17d4ae..a9694b0 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"Here is the site info for {json['domain']}\nIP: {json['ip']}\nTLSA: {json['tlsa']}") + await ctx.response.send_message(f"Here is the site info for {json['domain']}\nA: `{json['ip']}`\nTLSA: `{json['tlsa']}`\nMake sure you put the TLSA in either `_443._tcp.{domain}` or `*.{domain}`") else: await ctx.response.send_message(f"Error getting site info\n" + json['error']) else: