refactor: make selfInfo a 'runtime info'

This commit is contained in:
Wesley F. Young committed 2024-08-09 11:03:25 +08:00
1 parent d275108566
commit 80555ea9d4
4 files changed
+24 -31

No files matched your search

+1 -2
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);
}