Fix attribute error during rapid disconnects in VoiceClient.

Fix #6039
This commit is contained in:
Rapptz committed 2020-11-21 22:47:04 -05:00
1 parent 431ee8794b
commit b76b5b42c0
1 file changed
+1
+1
View File
@@ -220,6 +220,7 @@ class VoiceClient(VoiceProtocol):
self._player = None
self.encoder = None
self._lite_nonce = 0
self.ws = None
warn_nacl = not has_nacl
supported_modes = (