From 3e90664cf9a6b14f274fba0ce324d8dcdc06894e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 22 Feb 2022 04:09:48 -0500 Subject: [PATCH] Fix signature for VoiceClient --- discord/voice_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")