This commit is contained in:
手瓜一十雪
2024-07-23 09:21:36 +08:00
3 changed files with 10 additions and 14 deletions

View File

@@ -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;
}