working keepalive Real.

This commit is contained in:
ChomeNS 2022-08-19 14:16:30 +07:00
parent b7152cbde4
commit 486cf81def

View file

@ -350,6 +350,10 @@ function main() {
// onerror('end event: ' + util.inspect(reason).replaceAll('runner', 'chayapak1')); // onerror('end event: ' + util.inspect(reason).replaceAll('runner', 'chayapak1'));
}); });
bot._client.on('keep_alive', (packet) => {
bot.write('keep_alive', {keepAliveId: packet.keepAliveId});
});
bot._client.on('tab_complete', (packet) => { bot._client.on('tab_complete', (packet) => {
bot.tabcompleteplayers = packet.matches; bot.tabcompleteplayers = packet.matches;
}); });