chore: config

This commit is contained in:
手瓜一十雪
2024-08-12 00:12:52 +08:00
parent ecee642e10
commit 32d4febf10
3 changed files with 20 additions and 1 deletions

16
src/core/helper/config.ts Normal file
View 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';
}
}