mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
This commit is contained in:
@@ -13,6 +13,7 @@ export interface NapCatConfig {
|
||||
}
|
||||
|
||||
class Config extends ConfigBase<NapCatConfig> implements NapCatConfig {
|
||||
name: string = 'napcat'
|
||||
fileLog = true;
|
||||
consoleLog = true;
|
||||
fileLogLevel = LogLevel.DEBUG;
|
||||
@@ -21,10 +22,6 @@ class Config extends ConfigBase<NapCatConfig> implements NapCatConfig {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
getConfigPath(pathName: string) {
|
||||
const filename = `napcat${pathName ? "_" : ""}${pathName}.json`
|
||||
return path.join(this.getConfigDir(), filename);
|
||||
}
|
||||
}
|
||||
|
||||
export const napCatConfig = new Config();
|
||||
|
||||
Reference in New Issue
Block a user