This commit is contained in:
ChomeNS 2022-08-15 19:36:37 +07:00
parent f5008fcec8
commit 7581dde282

View file

@ -383,7 +383,7 @@ function main() {
let timeout = 1000; let timeout = 1000;
if (typeof reason.text==='undefined') { if (typeof reason.text!=='undefined') {
if (reason.text.find((data) => data.text === 'Wait 5 seconds before connecting, thanks! :)')) timeout = 1000 * 6; if (reason.text.find((data) => data.text === 'Wait 5 seconds before connecting, thanks! :)')) timeout = 1000 * 6;
if (reason.text.find((data) => data.text === 'You are logging in too fast, try again later.')) timeout = 1000 * 6; if (reason.text.find((data) => data.text === 'You are logging in too fast, try again later.')) timeout = 1000 * 6;
} }