Skip to content

Commit

Permalink
fix: core config name
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-Young committed Aug 11, 2024
1 parent 7b1b503 commit b18e86f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/core/helper/config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import { ConfigBase } from "@/common/utils/ConfigBase";
import { LogLevel } from "@/common/utils/log";

// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
export interface NapCatConfig {
fileLog: boolean,
consoleLog: boolean,
fileLogLevel: LogLevel,
consoleLogLevel: LogLevel,
}

// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
export class NapCatConfig extends ConfigBase<NapCatConfig> {
getConfigName() {
return 'onebot11';
return 'napcat';
}

}
}

0 comments on commit b18e86f

Please sign in to comment.