mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Rewrite voice connection internals
This commit is contained in:
@ -1842,7 +1842,7 @@ class Connectable(Protocol):
|
||||
async def connect(
|
||||
self,
|
||||
*,
|
||||
timeout: float = 60.0,
|
||||
timeout: float = 30.0,
|
||||
reconnect: bool = True,
|
||||
cls: Callable[[Client, Connectable], T] = VoiceClient,
|
||||
self_deaf: bool = False,
|
||||
@ -1858,7 +1858,7 @@ class Connectable(Protocol):
|
||||
Parameters
|
||||
-----------
|
||||
timeout: :class:`float`
|
||||
The timeout in seconds to wait for the voice endpoint.
|
||||
The timeout in seconds to wait the connection to complete.
|
||||
reconnect: :class:`bool`
|
||||
Whether the bot should automatically attempt
|
||||
a reconnect if a part of the handshake fails
|
||||
|
Reference in New Issue
Block a user