Browse Source

Fix SyntaxError in constructing VoiceState for Python 3.4

Generalised unpacking is 3.5 only.
pull/276/head
Rapptz 9 years ago
parent
commit
0000b2576e
  1. 3
      discord/calls.py

3
discord/calls.py

@ -117,7 +117,8 @@ class GroupCall:
if data['channel_id'] is None:
self._voice_states.pop(user_id, None)
else:
self._voice_states[user_id] = VoiceState(**data, voice_channel=self.channel)
data['voice_channel'] = self.channel
self._voice_states[user_id] = VoiceState(**data)
@property
def connected(self):

Loading…
Cancel
Save