aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index 25fd5bb7..a310c3de 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -95,6 +95,11 @@ class Client:
A game to start your presence with upon logging on to Discord.
status: Optional[:class:`Status`]
A status to start your presence with upon logging on to Discord.
+ heartbeat_timeout: float
+ The maximum numbers of seconds before timing out and restarting the
+ WebSocket in the case of not receiving a HEARTBEAT_ACK. Useful if
+ processing the initial packets take too long to the point of disconnecting
+ you. The default timeout is 60 seconds.
Attributes
-----------