mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +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]
|
||||
ssrc: int
|
||||
|
||||
def __init__(self, client: Client, channel: VocalGuildChannel):
|
||||
def __init__(self, client: Client, channel: abc.Connectable):
|
||||
if not has_nacl:
|
||||
raise RuntimeError("PyNaCl library needed in order to use voice")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user