(text)
| 124 | } |
| 125 | |
| 126 | export function sendSlashCmd(text) { |
| 127 | if (!S.ws || S.ws.readyState !== WebSocket.OPEN) return; |
| 128 | S.ws.send(JSON.stringify({ type: 'chat', text })); |
| 129 | } |
| 130 | |
| 131 | export function sendControlInput(data) { |
| 132 | if (!S.ws || S.ws.readyState !== WebSocket.OPEN) return; |
no outgoing calls
no test coverage detected