bot: Updated site info instructions
This commit is contained in:
parent
caa3c988d4
commit
3a9f8a8844
@ -82,7 +82,7 @@ async def siteinfo(ctx, domain: str):
|
|||||||
if r.status_code == 200:
|
if r.status_code == 200:
|
||||||
json = r.json()
|
json = r.json()
|
||||||
if json['success'] == "true":
|
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:
|
else:
|
||||||
await ctx.response.send_message(f"Error getting site info\n" + json['error'])
|
await ctx.response.send_message(f"Error getting site info\n" + json['error'])
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user