remove keepAlive + add checkTimeoutInterval back

This commit is contained in:
ChomeNS 2023-01-02 08:55:20 +07:00
parent c4bd05bb96
commit 2da7195481
2 changed files with 2 additions and 1 deletions

2
bot.js
View file

@ -36,7 +36,7 @@ async function createBot (server, config, getBots, setNewBot, dcclient, rl) {
version: config.version,
kaboom: server.kaboom,
logging: server.logging,
keepAlive: false,
checkTimeoutInterval: config.timeoutInterval,
hideErrors: true
}
bot._client = mc.createClient(bot.options)

View file

@ -50,6 +50,7 @@ module.exports = {
serverUrl: 'http://192.168.1.105:4445/'
},
reconnectTimeout: 1000 * 2,
timeoutInterval: 1000 * 40,
self_care_check_interval: 2000,
discord: {
token: 'OTcxNjUwNDU2NzA5Mzk4NTY5.G3lKC2._XQNTTU1Jqmaam_A0JKSe93GP1vFZvDpiXqZzA',