From d5d26bb0b461b0a6dc89875a709b239e015e138f Mon Sep 17 00:00:00 2001 From: Snazzah Date: Tue, 9 Sep 2025 16:01:36 -0400 Subject: [PATCH] Add docstring for voice_privacy_code --- discord/voice_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discord/voice_client.py b/discord/voice_client.py index ae4ba31f3..8c9b4217e 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -286,6 +286,10 @@ class VoiceClient(VoiceProtocol): @property def voice_privacy_code(self) -> Optional[str]: + """:class:`float`: The voice privacy code of the current voice session. + + This can be None if there is no active DAVE session happening. + """ return self._connection.dave_session.voice_privacy_code if self._connection.dave_session else None def checked_add(self, attr: str, value: int, limit: int) -> None: