Merge pull request #44
* Typehint gateway.py * Add relevant typehints to gateway.py to voice_client.py * Change EventListener to subclass NamedTuple * Add return type for DiscordWebSocket.wait_for * Correct deque typehint * Remove unnecessary typehints for literals * Use type aliases * Merge branch '2.0' into pr7422
This commit is contained in:
@@ -255,6 +255,9 @@ class VoiceClient(VoiceProtocol):
|
||||
self.encoder: Encoder = MISSING
|
||||
self._lite_nonce: int = 0
|
||||
self.ws: DiscordVoiceWebSocket = MISSING
|
||||
self.ip: str = MISSING
|
||||
self.port: Tuple[Any, ...] = MISSING
|
||||
|
||||
|
||||
warn_nacl = not has_nacl
|
||||
supported_modes: Tuple[SupportedModes, ...] = (
|
||||
|
||||
Reference in New Issue
Block a user