refactor: make selfInfo a 'runtime info'
This commit is contained in:
1 parent
d275108566
commit
80555ea9d4
4 files changed
+24
-31
No files matched your search
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user