mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 16:00:27 +00:00
refactor: ordered onebot11.json keys
This commit is contained in:
@@ -55,6 +55,10 @@ class Config extends ConfigBase<OB11Config> implements OB11Config {
|
||||
getConfigPath() {
|
||||
return path.join(this.getConfigDir(), `onebot11_${selfInfo.uin}.json`);
|
||||
}
|
||||
|
||||
protected getKeys(): string[] {
|
||||
return ['httpHost', 'enableHttp', 'httpPort', 'wsHost', 'enableWs', 'wsPort', 'enableWsReverse', 'wsReverseUrls', 'enableHttpPost', 'httpPostUrls', 'enableHttpHeart', 'httpSecret', 'messagePostFormat', 'reportSelfMessage', 'debug', 'enableLocalFile2Url', 'heartInterval', 'token', 'musicSignUrl'];
|
||||
}
|
||||
}
|
||||
|
||||
export const ob11Config = new Config();
|
||||
|
||||
Reference in New Issue
Block a user