[networking] Dusting module
This commit is contained in:
parent
eb95480c8f
commit
2cd8f70cdc
3 changed files with 73 additions and 49 deletions
|
|
@ -21,7 +21,9 @@ def load(CONF, add_hook):
|
|||
URL_WHOIS = URL_WHOIS % (urllib.parse.quote(CONF.getNode("whoisxmlapi")["username"]), urllib.parse.quote(CONF.getNode("whoisxmlapi")["password"]))
|
||||
|
||||
import nemubot.hooks
|
||||
add_hook("cmd_hook", nemubot.hooks.Message(cmd_whois, "netwhois"))
|
||||
add_hook("cmd_hook", nemubot.hooks.Message(cmd_whois, "netwhois",
|
||||
help="Get whois information about given domains",
|
||||
help_usage={"DOMAIN": "Return whois information on the given DOMAIN"}))
|
||||
|
||||
|
||||
def extractdate(str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue