diff options
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index 10f6d16e..1a2f9b98 100644 --- a/discord/state.py +++ b/discord/state.py @@ -695,8 +695,8 @@ class ConnectionState: key_id = int(data['channel_id']) vc = self._get_voice_client(key_id) - if vc is not None and vc.is_connected(): - compat.create_task(vc._switch_regions()) + if vc is not None: + compat.create_task(vc._create_socket(key_id, data)) def parse_typing_start(self, data): channel = self.get_channel(int(data['channel_id'])) |