mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-25 12:23:59 +00:00
Fix signature for VoiceClient
This commit is contained in:
parent
285069de08
commit
3e90664cf9
@ -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")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user