mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-13 01:09:50 +00:00
Disconnect from voice server properly
This needs to exist when users get flagged as bots.
This commit is contained in:
parent
c2ffff1549
commit
b10432d393
@ -313,7 +313,7 @@ class VoiceClient:
|
|||||||
payload = {
|
payload = {
|
||||||
'op': 4,
|
'op': 4,
|
||||||
'd': {
|
'd': {
|
||||||
'guild_id': None,
|
'guild_id': self.guild_id,
|
||||||
'channel_id': None,
|
'channel_id': None,
|
||||||
'self_mute': True,
|
'self_mute': True,
|
||||||
'self_deaf': False
|
'self_deaf': False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user