diff --git a/discord/voice_client.py b/discord/voice_client.py index 13cdd9c03..200feffd2 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -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")