bot: Updated site info instructions
All checks were successful
Build Docker / Build Master (push) Successful in 23s
Build Docker / Build Bot (push) Successful in 28s

This commit is contained in:
Nathan Woodburn 2023-08-24 14:50:20 +10:00
parent caa3c988d4
commit 3a9f8a8844
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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: