diff --git a/index.js b/index.js index 66d9b9d..ec58e9e 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,7 @@ async function startBot(accountName) { return new Promise((resolve, reject) => { // const childProcess = spawn('bash', ['-c', `${commandPrefix} ${commandSuffix}`], { stdio: 'inherit' }); const childProcess = spawn('bash', ['-c', `${commandPrefix} ${commandSuffix}`], { - stdio: ['inherit', 'pipe', process.stderr], + stdio: ['inherit', 'pipe', 'inherit'], }); childProcess.stdout.on('data', (data) => {