diff --git a/Client/PDAB b/Client/PDAB deleted file mode 160000 index 51027d7..0000000 --- a/Client/PDAB +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 51027d794d02a08285921f8d64b42f03a723b017 diff --git a/Client/controllers/botController.js b/Client/controllers/botController.js index 6724cf4..16b2945 100644 --- a/Client/controllers/botController.js +++ b/Client/controllers/botController.js @@ -33,12 +33,12 @@ exports.joinServer = async (req, res) => { log.INFO("Join requested to: ", deviceId, channelId, clientId); if (process.platform === "win32") { log.DEBUG("Starting Windows Python"); - pythonProcess = await spawn('H:\\Logan\\Projects\\Python-Discord-Audio-Bot\\venv\\Scripts\\python.exe', [resolve(__dirname, "../PDAB/main.py"), deviceId, channelId, clientId, '-n', NGThreshold], { cwd: resolve(__dirname, "../PDAB/").toString() }); + pythonProcess = await spawn('H:\\Logan\\Projects\\Python-Discord-Audio-Bot\\venv\\Scripts\\python.exe', [resolve(__dirname, "../pdab/main.py"), deviceId, channelId, clientId, '-n', NGThreshold], { cwd: resolve(__dirname, "../pdab/").toString() }); //pythonProcess = await spawn('C:\\Python310\\python.exe', [resolve(__dirname, "../PDAB/main.py"), deviceId, channelId, clientId, NGThreshold ]); } else { log.DEBUG("Starting Linux Python"); - pythonProcess = await spawn('python3', [resolve(__dirname, "../PDAB/main.py"), deviceId, channelId, clientId, NGThreshold ], { cwd: resolve(__dirname, "../PDAB/") }); + pythonProcess = await spawn('python3', [resolve(__dirname, "../pdab/main.py"), deviceId, channelId, clientId, NGThreshold ], { cwd: resolve(__dirname, "../pdab/") }); } log.VERBOSE("Python Process: ", pythonProcess);