From b18e86f81c91a8473f6cdc03a595775587046358 Mon Sep 17 00:00:00 2001 From: "Wesley F. Young" Date: Mon, 12 Aug 2024 00:15:51 +0800 Subject: [PATCH] fix: core config name --- src/core/helper/config.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/helper/config.ts b/src/core/helper/config.ts index 19cc4f03..0468a015 100644 --- a/src/core/helper/config.ts +++ b/src/core/helper/config.ts @@ -1,6 +1,7 @@ import { ConfigBase } from "@/common/utils/ConfigBase"; import { LogLevel } from "@/common/utils/log"; +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export interface NapCatConfig { fileLog: boolean, consoleLog: boolean, @@ -8,9 +9,9 @@ export interface NapCatConfig { consoleLogLevel: LogLevel, } +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export class NapCatConfig extends ConfigBase { getConfigName() { - return 'onebot11'; + return 'napcat'; } - -} \ No newline at end of file +}