mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
voice: fix #3418
(kicking bot from voice channel doesn't allow it to rejoin)
This commit is contained in:
@@ -388,6 +388,7 @@ class VoiceConnection extends EventEmitter {
|
||||
ws.removeAllListeners('ready');
|
||||
ws.removeAllListeners('sessionDescription');
|
||||
ws.removeAllListeners('speaking');
|
||||
ws.shutdown();
|
||||
}
|
||||
|
||||
if (udp) udp.removeAllListeners('error');
|
||||
|
||||
Reference in New Issue
Block a user