(kicking bot from voice channel doesn't allow it to rejoin)
This commit is contained in:
Amish Shah
2019-08-17 13:42:22 +01:00
parent 2c4d14a71b
commit c6e8fccbf0
3 changed files with 4 additions and 3 deletions

View File

@@ -388,6 +388,7 @@ class VoiceConnection extends EventEmitter {
ws.removeAllListeners('ready');
ws.removeAllListeners('sessionDescription');
ws.removeAllListeners('speaking');
ws.shutdown();
}
if (udp) udp.removeAllListeners('error');