Major update
- Working client server interactions - Can create radio config - Needs radio testing
This commit is contained in:
@@ -6,7 +6,7 @@ const path = require('path');
|
||||
const fork = require('child_process').fork;
|
||||
const discordBotPath = path.resolve('discord-bot/app.js');
|
||||
|
||||
let botChildProcess, radioChildProcess, tempRes;
|
||||
let botChildProcess, tempRes;
|
||||
|
||||
/**
|
||||
* Bot Process Object Builder
|
||||
@@ -67,6 +67,7 @@ exports.joinServer = (req, res) => {
|
||||
tempRes.sendStatus(202);
|
||||
tempRes = undefined;
|
||||
botChildProcess.kill();
|
||||
botChildProcess = undefined;
|
||||
return;
|
||||
case "ChgPreSet":
|
||||
tempRes.sendStatus(200);
|
||||
|
||||
Reference in New Issue
Block a user