diff --git a/discord/voice_state.py b/discord/voice_state.py index f8ab1fa54..4ede821be 100644 --- a/discord/voice_state.py +++ b/discord/voice_state.py @@ -68,7 +68,7 @@ if TYPE_CHECKING: SupportedModes, ) - WebsocketHook = Optional[Callable[['VoiceConnectionState', Dict[str, Any]], Coroutine[Any, Any, Any]]] + WebsocketHook = Optional[Callable[[DiscordVoiceWebSocket, Dict[str, Any]], Coroutine[Any, Any, Any]]] SocketReaderCallback = Callable[[bytes], Any]