mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 21:10:23 +00:00
fix[default-config]config name check
This commit is contained in:
@@ -42,6 +42,7 @@ export interface OB11Config {
|
||||
}
|
||||
|
||||
class Config extends ConfigBase<OB11Config> implements OB11Config {
|
||||
name: string = 'onebot11'
|
||||
http = {
|
||||
enable: false,
|
||||
host: '',
|
||||
@@ -72,11 +73,6 @@ class Config extends ConfigBase<OB11Config> implements OB11Config {
|
||||
RecordList: [] as Array<string>
|
||||
};
|
||||
|
||||
getConfigPath(pathName: string) {
|
||||
const filename = `onebot11_${pathName ? "_" : ""}${pathName}.json`
|
||||
return path.join(this.getConfigDir(), filename);
|
||||
}
|
||||
|
||||
protected getKeys(): string[] | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user