mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
remove keepAlive + add checkTimeoutInterval back
This commit is contained in:
parent
c4bd05bb96
commit
2da7195481
2 changed files with 2 additions and 1 deletions
2
bot.js
2
bot.js
|
@ -36,7 +36,7 @@ async function createBot (server, config, getBots, setNewBot, dcclient, rl) {
|
||||||
version: config.version,
|
version: config.version,
|
||||||
kaboom: server.kaboom,
|
kaboom: server.kaboom,
|
||||||
logging: server.logging,
|
logging: server.logging,
|
||||||
keepAlive: false,
|
checkTimeoutInterval: config.timeoutInterval,
|
||||||
hideErrors: true
|
hideErrors: true
|
||||||
}
|
}
|
||||||
bot._client = mc.createClient(bot.options)
|
bot._client = mc.createClient(bot.options)
|
||||||
|
|
|
@ -50,6 +50,7 @@ module.exports = {
|
||||||
serverUrl: 'http://192.168.1.105:4445/'
|
serverUrl: 'http://192.168.1.105:4445/'
|
||||||
},
|
},
|
||||||
reconnectTimeout: 1000 * 2,
|
reconnectTimeout: 1000 * 2,
|
||||||
|
timeoutInterval: 1000 * 40,
|
||||||
self_care_check_interval: 2000,
|
self_care_check_interval: 2000,
|
||||||
discord: {
|
discord: {
|
||||||
token: 'OTcxNjUwNDU2NzA5Mzk4NTY5.G3lKC2._XQNTTU1Jqmaam_A0JKSe93GP1vFZvDpiXqZzA',
|
token: 'OTcxNjUwNDU2NzA5Mzk4NTY5.G3lKC2._XQNTTU1Jqmaam_A0JKSe93GP1vFZvDpiXqZzA',
|
||||||
|
|
Loading…
Reference in a new issue