chore: 正向WS实现

This commit is contained in:
手瓜一十雪 committed 2024-08-11 09:50:09 +08:00
1 parent 6af155de53
commit fc2fe0a873
2 files changed
+42 -11

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ export class NapCatOneBot11Adapter {
}
if (ob11Config.ws.enable) {
OB11NetworkManagerWrap.registerAdapter(new OB11PassiveWebSocketAdapter(
ob11Config.ws.host, ob11Config.ws.port, ob11Config.heartInterval, ob11Config.token
ob11Config.ws.host, ob11Config.ws.port, ob11Config.heartInterval, ob11Config.token, this.core, this
));
}
if (ob11Config.reverseWs.enable) {