Update send2ddp

This commit is contained in:
Lamp 2018-11-05 23:53:00 -08:00 committed by GitHub
parent 57f8615f20
commit b774b78409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function send2discord(message) {
}
function send2ddp(message) {
if (ws.readyState == WebSocket.OPEN) ws.send(message);
if (ws.readyState == WebSocket.OPEN) ws.send(JSON.stringify({type:"chat",message}));
}
dClient.on("local_message", message => {