mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-30 10:56:55 -05:00
ig i should change this
This commit is contained in:
parent
6be3d40a89
commit
c4c2cd48e7
1 changed files with 4 additions and 2 deletions
6
index.js
6
index.js
|
@ -160,7 +160,7 @@ function main() {
|
||||||
channel.send({content: '```ansi\n' + dcmsg.queue.substring(0, 1986) + '\n```', allowedMentions: {parse: []}});
|
channel.send({content: '```ansi\n' + dcmsg.queue.substring(0, 1986) + '\n```', allowedMentions: {parse: []}});
|
||||||
dcmsg.queue = '';
|
dcmsg.queue = '';
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1900);
|
||||||
|
|
||||||
consoleQueueInterval = setInterval(function() {
|
consoleQueueInterval = setInterval(function() {
|
||||||
if (!messageloggingEnabled) return;
|
if (!messageloggingEnabled) return;
|
||||||
|
@ -182,7 +182,9 @@ function main() {
|
||||||
if (reason.text === 'Wait 5 seconds before connecting, thanks! :)') timeout = 1000 * 6;
|
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;
|
if (reason.text === 'You are logging in too fast, try again later.') timeout = 1000 * 6;
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
clearInterval(notonline);
|
clearInterval(notonline);
|
||||||
|
|
Loading…
Reference in a new issue