1
0
Fork 0
mirror of https://github.com/ChomeNS/chomens-bot-mc.git synced 2025-04-15 21:54:25 -04:00

0, 1998 prob fix it11!!1!!

This commit is contained in:
ChomeNS 2022-08-23 16:59:13 +07:00
parent d5252a1885
commit 205389d0ce

View file

@ -208,7 +208,7 @@ function main() {
discordQueue = setInterval(function() {
if (dcmsg.queue!='') {
channel.send(dcmsg.queue.substring(0, 2000));
channel.send(dcmsg.queue.substring(0, 1998));
dcmsg.queue = '';
}
}, 1000);
@ -305,7 +305,7 @@ function main() {
if (message.toMotd().startsWith('§8[§r§eChomeNS §r§9Discord§r§8] §r§c')) return;
if (message.toString()==='') return;
if (message.toString().startsWith(' ')) return;
dcmsg.queue += '\n' + discordMsg.substring(0, 2000);
dcmsg.queue += '\n' + discordMsg.substring(0, 1998);
} catch (e) {
return;
}