diff --git a/index.js b/index.js index 3b4a39d..5ca7754 100644 --- a/index.js +++ b/index.js @@ -152,6 +152,8 @@ async function startBot(accountName) { return new Promise((resolve, reject) => { const childProcess = spawn('bash', ['-c', `${commandPrefix} ${commandSuffix}`], { stdio: 'inherit' }); + console.log(childProcess); + childProcess.stdout.on('data', (data) => { console.log(`[${accountName}] ${data.toString()}`); if (data.includes('Press enter') || data.includes('Press any key')) {