这是一个依赖onebot的异步网络工具库,用于提供QQ机器人网络工具服务。 此工具库包含Ping、Tracert、Nsloopup、Nmap等命令,方便随时调试。
切记在windwos系统下,要打开icmp-v4与icmp-v6的防火墙
netsh advfirewall firewall add rule name="All ICMP v4" dir=in action=allow protocol=icmpv4:any,any
netsh advfirewall firewall add rule name="All ICMP v6" dir=in action=allow protocol=icmpv6:any,any- generate project using
nb create. - create your plugin using
nb plugin create. - writing your plugins under
src/pluginsfolder. - run your bot using
nb run --reload.
| 功能 | 命令格式 | 命令示例 | PS |
|---|---|---|---|
| Ping | /ping <host> <times> |
/ping github.com 3 5000 |
See Docs