Major update
- Working client server interactions - Can create radio config - Needs radio testing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user