diff --git a/index.js b/index.js index 9860195..80ed76a 100644 --- a/index.js +++ b/index.js @@ -397,16 +397,16 @@ function main() { console.log(`Disconnected (${event} event): ${util.inspect(reason)}`); channel.send(`Disconnected (${event} event): ${util.inspect(reason)}`); - let timeout = 3500; + const timeout = 1000 * 6; - try { - if (reason.text) { - if (reason.text === 'Wait 5 seconds before connecting, thanks! :)') timeout = 1000 * 6; - if (reason.text === 'You are logging in too fast, try again later.') timeout = 1000 * 6; - } - } catch (e) { - console.log(e.message); - } + // try { + // if (reason.text) { + // if (reason.text === 'Wait 5 seconds before connecting, thanks! :)') timeout = 1000 * 6; + // if (reason.text === 'You are logging in too fast, try again later.') timeout = 1000 * 6; + // } + // } catch (e) { + // console.log(e.message); + // } try { clearInterval(corefill);