Major update

- Working client server interactions
- Can create radio config
- Needs radio testing
This commit is contained in:
Logan Cusano
2023-02-18 20:41:43 -05:00
parent c8c75e8b37
commit ce072d9287
25 changed files with 1114 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
var express = require('express');
const express = require('express');
const router = express.Router();
const botController = require("../controllers/botController");
var router = express.Router();
/** GET bot status
* Check to see if the bot is online and if so, if it is currently connected to anything
@@ -27,11 +27,4 @@ router.post('/join', botController.joinServer);
*/
router.post('/leave', botController.leaveServer);
/** POST change bot preset
* This will change the bot to the preset specified (if different from what is currently playing)
*
* The status of the bot: 200 = no change, 202 = changed successfully, 500 + JSON = encountered error
* @returns status
*/
module.exports = router;