Skip to content

Music stops if Bot moved manually between voice channels #171

@botea14

Description

@botea14

type: 'error',
message: 'WebSocket was closed before the connection was established',
error: Error: WebSocket was closed before the connection was established
at WebSocket.close (/home/PantomathBot/node_modules/ws/lib/websocket.js:217:14)
at VoiceWebSocket.reset (/home/PantomathBot/node_modules/discord.js/src/client/voice/networking/VoiceWebSocket.js:53:60)
at VoiceWebSocket.shutdown (/home/PantomathBot/node_modules/discord.js/src/client/voice/networking/VoiceWebSocket.js:44:10)
at VoiceConnection.emit (events.js:326:22)
at VoiceConnection.disconnect (/home/PantomathBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:352:10)
at Player.stop_playing (/home/PantomathBot/plugins/MusicPlayer/player.js:178:20)
at StreamDispatcher. (/home/PantomathBot/plugins/MusicPlayer/player.js:158:26)
at StreamDispatcher.emit (events.js:314:20)
at StreamDispatcher._setSpeaking (/home/PantomathBot/node_modules/discord.js/src/client/voice/dispatcher/StreamDispatcher.js:310:10)
at /home/PantomathBot/node_modules/discord.js/src/client/voice/dispatcher/StreamDispatcher.js:296:12
}
bot error1
bot error2

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions