From 9830e0ed8a45768fd4568d193a02e8210bed54fb Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 23 Aug 2020 06:27:20 +1000 Subject: [PATCH] Fix issues with VoiceProtocol docstrsings. --- discord/voice_client.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/discord/voice_client.py b/discord/voice_client.py index 58cb81c49..a48a92d1d 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -93,9 +93,11 @@ class VoiceProtocol: Parameters ------------ data: :class:`dict` - The raw `voice state payload`_. + The raw `voice state payload`__. - .. _voice state payload: https://discord.com/developers/docs/resources/voice#voice-state-object + .. _voice_state_update_payload: https://discord.com/developers/docs/resources/voice#voice-state-object + + __ voice_state_update_payload_ """ raise NotImplementedError @@ -110,9 +112,9 @@ class VoiceProtocol: data: :class:`dict` The raw `voice server update payload`__. - .. _VSU: https://discord.com/developers/docs/topics/gateway#voice-server-update-voice-server-update-event-fields + .. _voice_server_update_payload: https://discord.com/developers/docs/topics/gateway#voice-server-update-voice-server-update-event-fields - __ VSU_ + __ voice_server_update_payload_ """ raise NotImplementedError