mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-23 00:10:19 +08:00
Update config.ts
This commit is contained in:
parent
9954da22a6
commit
c8351be461
@ -33,7 +33,7 @@ export interface OB11Config {
|
|||||||
reportSelfMessage: boolean;
|
reportSelfMessage: boolean;
|
||||||
token: string;
|
token: string;
|
||||||
|
|
||||||
GroupLocalTimeRecord: Array<string>;
|
GroupLocalTimeRecord: Array<number>;
|
||||||
|
|
||||||
read(): OB11Config;
|
read(): OB11Config;
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ class Config extends ConfigBase<OB11Config> implements OB11Config {
|
|||||||
reportSelfMessage = false;
|
reportSelfMessage = false;
|
||||||
token = '';
|
token = '';
|
||||||
|
|
||||||
GroupLocalTimeRecord = [];
|
GroupLocalTimeRecord = [] as Array<number>;
|
||||||
|
|
||||||
getConfigPath() {
|
getConfigPath() {
|
||||||
return path.join(this.getConfigDir(), `onebot11_${selfInfo.uin}.json`);
|
return path.join(this.getConfigDir(), `onebot11_${selfInfo.uin}.json`);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user