Add return type hint for some functions

This commit is contained in:
Harshal Laheri authored and GitHub committed 2022-07-15 00:15:42 -04:00
1 parent e0341c9ef2
commit 20d3871290
6 files changed
+17 -15

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ class VoiceClient(VoiceProtocol):
secret_key: List[int]
ssrc: int
def __init__(self, client: Client, channel: abc.Connectable):
def __init__(self, client: Client, channel: abc.Connectable) -> None:
if not has_nacl:
raise RuntimeError("PyNaCl library needed in order to use voice")