mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 16:00:27 +00:00
Update config.ts
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user