mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: core config name
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { ConfigBase } from "@/common/utils/ConfigBase";
|
import { ConfigBase } from "@/common/utils/ConfigBase";
|
||||||
import { LogLevel } from "@/common/utils/log";
|
import { LogLevel } from "@/common/utils/log";
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||||
export interface NapCatConfig {
|
export interface NapCatConfig {
|
||||||
fileLog: boolean,
|
fileLog: boolean,
|
||||||
consoleLog: boolean,
|
consoleLog: boolean,
|
||||||
@@ -8,9 +9,9 @@ export interface NapCatConfig {
|
|||||||
consoleLogLevel: LogLevel,
|
consoleLogLevel: LogLevel,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||||
export class NapCatConfig extends ConfigBase<NapCatConfig> {
|
export class NapCatConfig extends ConfigBase<NapCatConfig> {
|
||||||
getConfigName() {
|
getConfigName() {
|
||||||
return 'onebot11';
|
return 'napcat';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user