chore: token

This commit is contained in:
手瓜一十雪 committed 2024-08-10 17:07:23 +08:00
1 parent a14a193361
commit 773e7ce90a
5 files changed
+14 -12

No files matched your search

+3 -1
View File
@@ -5,8 +5,10 @@ import { OB11BaseEvent } from '@/onebot/event/OB11BaseEvent';
export class OB11ActiveHttpAdapter implements IOB11NetworkAdapter {
url: string;
private actionMap: Map<string, BaseAction<any, any>> = new Map();
heartbeatInterval: number;
constructor(url: string) {
constructor(url: string, heartbeatInterval: number) {
this.heartbeatInterval = heartbeatInterval;
this.url = url;
}
registerHeartBeat() {