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:
parent
d5252a1885
commit
205389d0ce
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue