From a348148fd702c4cd8fb093b7e387ea4094685b12 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Mon, 21 Nov 2022 19:50:02 +0700 Subject: [PATCH] missing new line --- bot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.js b/bot.js index f143673..cee9488 100644 --- a/bot.js +++ b/bot.js @@ -166,6 +166,7 @@ async function createBot(server, config, getBots, dcclient, rl) { bot._client.on('keep_alive', (packet) => { bot.write('keep_alive', {keepAliveId: packet.keepAliveId}); }); + bot._client.on('game_state_change', () => { bot.write('client_command', {payload: 0}); });