restart_napcat_service
Force restarts the local NapCat backend process, optionally for a specified QQ account, and waits for the service port to become ready.
Instructions
强制重启本地 NapCat 后台服务进程(可指定要登录的 QQ 号)。 :param uin: 指定重启登录的 QQ 号 (可选,留空则使用当前默认账号) :param wait_seconds: 等待端口监听就绪的秒数,默认 25
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uin | No | 指定重启登录的 QQ 号 (可选,留空则使用当前默认账号) | |
| wait_seconds | No | 等待端口监听就绪的秒数,默认 25 |