From 349940efd4a8a9a7f7c0b5894f82bb05b052f063 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Mon, 26 Jun 2023 10:21:37 +0200 Subject: [PATCH] 2nd change --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {