From a3907cf064a87f976c043501d80d4e7ab2ae8bd6 Mon Sep 17 00:00:00 2001 From: Mysty Date: Mon, 20 Nov 2023 10:51:00 +1000 Subject: [PATCH] Add warning to VoiceProtocol.on_voice_state_update --- discord/voice_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discord/voice_client.py b/discord/voice_client.py index 911338caf..0d71f4605 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -104,6 +104,10 @@ class VoiceProtocol: An abstract method that is called when the client's voice state has changed. This corresponds to ``VOICE_STATE_UPDATE``. + .. warning:: + + This method is not the same as the event. See: :func:`on_voice_state_update` + Parameters ------------ data: :class:`dict`