refactor: make selfInfo a 'runtime info'

This commit is contained in:
Wesley F. Young
2024-08-09 11:03:25 +08:00
parent 34e4963ccd
commit 7e49bfa984
4 changed files with 24 additions and 31 deletions

View File

@@ -149,10 +149,9 @@ export class NapCatShell {
session,
logger,
loginService,
selfInfo,
basicInfoWrapper
};
this.core = new NapCatCore(this.context);
this.core = new NapCatCore(this.context, selfInfo);
new NapCatOneBot11Adapter(this.core, this.context);
}