Immedietly send op 4
This commit is contained in:
parent
252faa8188
commit
fb10ef5b95
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -148,6 +148,7 @@ wsServer.on("connection", function connection(socket) {
|
||||||
|
|
||||||
socket.send(JSON.stringify(lanyardData))
|
socket.send(JSON.stringify(lanyardData))
|
||||||
socket.send(`{ "op": 1 }`)
|
socket.send(`{ "op": 1 }`)
|
||||||
|
socket.send(`{"op": 4, "spins": ${violetSpins}}`)
|
||||||
|
|
||||||
sockets.push({ socket, lastPing: Date.now() })
|
sockets.push({ socket, lastPing: Date.now() })
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue