fix: migrateOneBotConfigsV1
This commit is contained in:
1 parent
282c7418e9
commit
cbc79fd51e
2 files changed
+40
-36
No files matched your search
+2
-1
@@ -64,7 +64,8 @@ export class NapCatOneBot11Adapter {
|
||||
this.core = core;
|
||||
this.context = context;
|
||||
this.configLoader = new OB11ConfigLoader(core, pathWrapper.configPath);
|
||||
this.configLoader.save(mergeOneBotConfigs(migrateOneBotConfigsV1(this.configLoader.configData)));
|
||||
this.configLoader.save(migrateOneBotConfigsV1(this.configLoader.configData));
|
||||
this.configLoader.save(mergeOneBotConfigs(this.configLoader.configData));
|
||||
this.apis = {
|
||||
GroupApi: new OneBotGroupApi(this, core),
|
||||
UserApi: new OneBotUserApi(this, core),
|
||||
|
||||
Reference in new issue
Block a user