mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
This commit is contained in:
commit
7816271302
@ -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<NapCatConfig> {
|
||||
getConfigName() {
|
||||
return 'onebot11';
|
||||
return 'napcat';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { ConfigBase } from '@/common/utils/ConfigBase';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||
export interface OB11Config {
|
||||
http: {
|
||||
enable: boolean;
|
||||
@ -33,6 +34,7 @@ export interface OB11Config {
|
||||
};
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||
export class OB11Config extends ConfigBase<OB11Config> {
|
||||
getConfigName() {
|
||||
return 'onebot11';
|
||||
|
Loading…
Reference in New Issue
Block a user