mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +00:00 
			
		
		
		
	Fix SyntaxError in constructing VoiceState for Python 3.4
Generalised unpacking is 3.5 only.
This commit is contained in:
		| @@ -117,7 +117,8 @@ class GroupCall: | |||||||
|         if data['channel_id'] is None: |         if data['channel_id'] is None: | ||||||
|             self._voice_states.pop(user_id, None) |             self._voice_states.pop(user_id, None) | ||||||
|         else: |         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 |     @property | ||||||
|     def connected(self): |     def connected(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user