chore: config保存
This commit is contained in:
1 parent
0b8dcbebe9
commit
4cfde09016
1 file changed
+3
@@ -87,6 +87,9 @@ export class NapCatOneBot11Adapter {
|
||||
await this.initMsgListener();
|
||||
WebUiDataRuntime.setQQLoginUin(selfInfo.uin.toString());
|
||||
WebUiDataRuntime.setQQLoginStatus(true);
|
||||
WebUiDataRuntime.setOB11ConfigCall(async (ob11: OB11Config) => {
|
||||
this.config.save(ob11);
|
||||
});
|
||||
InitWebUi(this.context.logger, this.context.pathWrapper).then().catch(this.context.logger.logError);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user