mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix signature for VoiceClient
This commit is contained in:
1 parent
285069de08
commit
3e90664cf9
1 file changed
+1
-1
@@ -232,7 +232,7 @@ class VoiceClient(VoiceProtocol):
|
|||||||
secret_key: List[int]
|
secret_key: List[int]
|
||||||
ssrc: int
|
ssrc: int
|
||||||
|
|
||||||
def __init__(self, client: Client, channel: VocalGuildChannel):
|
def __init__(self, client: Client, channel: abc.Connectable):
|
||||||
if not has_nacl:
|
if not has_nacl:
|
||||||
raise RuntimeError("PyNaCl library needed in order to use voice")
|
raise RuntimeError("PyNaCl library needed in order to use voice")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user