mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
chore: config
This commit is contained in:
16
src/core/helper/config.ts
Normal file
16
src/core/helper/config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { ConfigBase } from "@/common/utils/ConfigBase";
|
||||
import { LogLevel } from "@/common/utils/log";
|
||||
|
||||
export interface NapCatConfig {
|
||||
fileLog: boolean,
|
||||
consoleLog: boolean,
|
||||
fileLogLevel: LogLevel,
|
||||
consoleLogLevel: LogLevel,
|
||||
}
|
||||
|
||||
export class NapCatConfig extends ConfigBase<NapCatConfig> {
|
||||
getConfigName() {
|
||||
return 'onebot11';
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user