aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index e0f74192..3b68f39b 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -549,7 +549,7 @@ class Client:
pass
if self.ws is not None and self.ws.open:
- await self.ws.close()
+ await self.ws.close(code=1000)
self._ready.clear()