Add relevant typehints to gateway.py to voice_client.py

This commit is contained in:
TheLeadingLlama 2021-08-19 18:40:36 -04:00
parent cb76d61da1
commit ace6f26a29

View File

@ -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, ...] = (