diff --git a/index.js b/index.js index ecb9ac7..e039c1f 100644 --- a/index.js +++ b/index.js @@ -350,6 +350,10 @@ function main() { // 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.tabcompleteplayers = packet.matches; });