Update config.ts

This commit is contained in:
po-lan authored and GitHub committed 2024-05-28 21:45:36 +08:00
1 parent 6665e4f071
commit 180ef5493c
1 file changed
+2 -2
+2 -2
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`);