this may do

This commit is contained in:
Lamp 2018-11-29 13:16:39 -08:00 committed by GitHub
parent 3c352ca36c
commit 9330993acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -66,8 +66,9 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
var isConnected = false; // TODO use gClient.isConnected() ?
gClient.on('connect', () => {
console.log(`[${site}][${room}] Connected to server`);
dSend(`**Connected to server; joining channel…**`); // TODO say what room it actually connected to ?
dSend(`**Connected to server; joining channel…**`);
isConnected = true;
lastError = undefined;
});
gClient.on('hi', ()=>{
console.log(`[${site}][${room}] Received greeting`);