Type-hint gateway

This commit is contained in:
Josh authored and Rapptz committed 2022-02-22 03:59:58 -05:00
1 parent f5e087c5c3
commit c8064ba6f2
3 files changed
+190 -117

No files matched your search

+1
View File
@@ -239,6 +239,7 @@ class VoiceClient(VoiceProtocol):
super().__init__(client, channel)
state = client._connection
self.token: str = MISSING
self.server_id: int = MISSING
self.socket = MISSING
self.loop: asyncio.AbstractEventLoop = state.loop
self._state: ConnectionState = state