Browse Source
Fix typo in voice server update state handling
pull/10102/head
dolfies
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
discord/voice_state.py
|
|
@ -344,7 +344,7 @@ class VoiceConnectionState: |
|
|
|
|
|
|
|
elif self.state is not ConnectionFlowState.disconnected: |
|
|
|
# eventual consistency |
|
|
|
if previous_token == self.token and previous_server_id == self.server_id and previous_token == self.token: |
|
|
|
if previous_token == self.token and previous_server_id == self.server_id and previous_endpoint == self.endpoint: |
|
|
|
return |
|
|
|
|
|
|
|
_log.debug('Unexpected server update event, attempting to handle') |
|
|
|