diff options
| author | Josh <[email protected]> | 2020-08-23 06:27:20 +1000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-09-23 03:20:35 -0400 |
| commit | 9830e0ed8a45768fd4568d193a02e8210bed54fb (patch) | |
| tree | 98de25268ba9069eaf4a1a5974fb37608021fb66 | |
| parent | Correct some protocol errors in v4 of voice gateway (diff) | |
| download | discord.py-9830e0ed8a45768fd4568d193a02e8210bed54fb.tar.xz discord.py-9830e0ed8a45768fd4568d193a02e8210bed54fb.zip | |
Fix issues with VoiceProtocol docstrsings.
| -rw-r--r-- | discord/voice_client.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py index 58cb81c4..a48a92d1 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 |