Discord voice bot handler working

This commit is contained in:
Logan Cusano
2023-05-20 00:01:12 -04:00
parent e7b802839e
commit 0f003f907e
4 changed files with 71 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ const botController = require("../controllers/botController");
/** GET bot status
* Check to see if the bot is online and if so, if it is currently connected to anything
*
* The status of the bot: 200 = client is online but not connected to discord, 201 = online on discord, 202 = connected to a channel, 500 + JSON = encountered error
* The status of the bot: 200 = connected to discord, 201 = not connected to discord, 500 + JSON = encountered error
* @returns status
*/
router.get('/status', botController.getStatus);