fix: 代码精简

This commit is contained in:
手瓜一十雪 committed 2024-11-14 12:02:24 +08:00
1 parent aee19abd10
commit c9bb8de442
8 files changed
+15 -25

No files matched your search

+2 -2
View File
@@ -11,11 +11,11 @@ export class OB11HeartbeatEvent extends OB11BaseMetaEvent {
status: HeartbeatStatus;
interval: number;
public constructor(core: NapCatCore, interval: number, isOnline: boolean | undefined, isGood: boolean) {
public constructor(core: NapCatCore, interval: number, isOnline: boolean, isGood: boolean) {
super(core);
this.interval = interval;
this.status = {
online: isOnline && true,
online: isOnline,
good: isGood,
};
}