Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/modules/ask/tools/ip_whois.py
2023-06-20 12:58:41 +08:00

8 lines
342 B
Python

from modules.whois.ip import check_ip
from .utils import to_json_func, AkariTool
ip_whois_tool = AkariTool(
name='IP WHOIS',
func=to_json_func(check_ip),
description='A WHOIS tool for IP addresses. Useful for when you need to answer questions about IP addresses. Input should be a valid IP address. Output is a JSON document.'
)