Update config.ts

This commit is contained in:
po-lan 2024-05-28 21:45:36 +08:00 committed by GitHub
parent 9954da22a6
commit c8351be461
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ export interface OB11Config {
reportSelfMessage: boolean;
token: string;
GroupLocalTimeRecord: Array<string>;
GroupLocalTimeRecord: Array<number>;
read(): OB11Config;
@ -67,7 +67,7 @@ class Config extends ConfigBase<OB11Config> implements OB11Config {
reportSelfMessage = false;
token = '';
GroupLocalTimeRecord = [];
GroupLocalTimeRecord = [] as Array<number>;
getConfigPath() {
return path.join(this.getConfigDir(), `onebot11_${selfInfo.uin}.json`);