mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
chore: config保存
This commit is contained in:
@@ -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