Fix signature for VoiceClient

This commit is contained in:
Rapptz 2022-02-22 04:09:48 -05:00
parent 285069de08
commit 3e90664cf9

View File

@ -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")