diff options
| author | Jake <[email protected]> | 2016-03-04 18:47:50 -0800 |
|---|---|---|
| committer | Jake <[email protected]> | 2016-03-04 18:47:50 -0800 |
| commit | b10432d393f5d9d3cf29afe853f1ac3a22fb871f (patch) | |
| tree | 0bd2feaf07fa24a1bfa3900b6be8500b8ef3d172 | |
| parent | Fix bug where @everyone usernames bypass Message.clean_content. (diff) | |
| download | discord.py-b10432d393f5d9d3cf29afe853f1ac3a22fb871f.tar.xz discord.py-b10432d393f5d9d3cf29afe853f1ac3a22fb871f.zip | |
Disconnect from voice server properly
This needs to exist when users get flagged as bots.
| -rw-r--r-- | discord/voice_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py index fbe3d492..9f489e18 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -313,7 +313,7 @@ class VoiceClient: payload = { 'op': 4, 'd': { - 'guild_id': None, + 'guild_id': self.guild_id, 'channel_id': None, 'self_mute': True, 'self_deaf': False |