aboutsummaryrefslogtreecommitdiff
path: root/discord/gateway.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/gateway.py')
-rw-r--r--discord/gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/gateway.py b/discord/gateway.py
index 3561033b..0e90c5f6 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -543,7 +543,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol):
log.debug('Updating our voice state to %s.', payload)
await self.send_as_json(payload)
- async def close(self, code=1000, reason=''):
+ async def close(self, code=4000, reason=''):
if self._keep_alive:
self._keep_alive.stop()