refactor: 重构 Onebot 配置格式,增强可读性

This commit is contained in:
SherkeyXD
2024-05-14 20:17:53 +08:00
parent 7b5c332726
commit e91ed34b40
9 changed files with 259 additions and 230 deletions

View File

@@ -16,7 +16,7 @@ class OB11HTTPServer extends HttpServerBase {
}
protected listen(port: number, host: string) {
if (ob11Config.enableHttp) {
if (ob11Config.http.enable) {
super.listen(port, host);
}
}