Snazzah
1 month ago
No known key found for this signature in database
GPG Key ID: EA479766A94CEB61
1 changed files with
3 additions and
2 deletions
-
discord/voice_client.py
|
|
@ -286,8 +286,9 @@ class VoiceClient(VoiceProtocol): |
|
|
|
|
|
|
|
@property |
|
|
|
def voice_privacy_code(self) -> Optional[str]: |
|
|
|
""":class:`float`: The voice privacy code of the current voice session. |
|
|
|
|
|
|
|
""":class:`str`: Get the voice privacy code of this E2EE session's group. |
|
|
|
|
|
|
|
A new privacy code is created and cached each time a new transition is executed. |
|
|
|
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 |
|
|
|