Skip to content

Commit

Permalink
Fix attribute error during rapid disconnects in VoiceClient.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapptz committed Nov 22, 2020
1 parent 431ee87 commit b76b5b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/voice_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def __init__(self, client, channel):
self._player = None
self.encoder = None
self._lite_nonce = 0
self.ws = None

warn_nacl = not has_nacl
supported_modes = (
Expand Down

0 comments on commit b76b5b4

Please sign in to comment.