对 get_group_member_list 增强开关

This commit is contained in:
po-lan 2024-05-27 17:11:26 +08:00 committed by GitHub
parent 0ad0353fc0
commit ad72415532
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,8 @@ export interface OB11Config {
reportSelfMessage: boolean;
token: string;
localDB: boolean;
read(): OB11Config;
save(config: OB11Config): void;
@ -65,6 +67,8 @@ class Config extends ConfigBase<OB11Config> implements OB11Config {
reportSelfMessage = false;
token = '';
localDB = true;
getConfigPath() {
return path.join(this.getConfigDir(), `onebot11_${selfInfo.uin}.json`);
}