Error when not logging out but leaving voice channel on guild created player and session in.
Steps to reproduce
Step
Join channel, create player and log in to create session
Step
Quit voice channel of guild
Step
Reload webpanel
Logs & Screenshots
TypeError: Cannot read property 'id' of undefined
at Websocket.app.get (/Programs/discordBots/soundBoard2/src/core/websocket.js:102:36)
at Layer.handle [as handle_request] (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/layer.js:95:5)
at next (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/layer.js:95:5)
at /Programs/discordBots/soundBoard2/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/index.js:335:12)
at next (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/index.js:275:10)
at SendStream.error (/Programs/discordBots/soundBoard2/node_modules/serve-static/index.js:121:7)
at SendStream.emit (events.js:160:13)
Issue Type
Application
Description
Error when not logging out but leaving voice channel on guild created player and session in.
Steps to reproduce
Logs & Screenshots