mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-18 06:20:29 +00:00
chore: config保存
This commit is contained in:
parent
0b8dcbebe9
commit
4cfde09016
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user