Browse Source

Fix versionadded docstrings in voice connect methods

pull/7899/head
Rapptz 3 years ago
parent
commit
4c74523794
  1. 4
      discord/abc.py
  2. 4
      discord/voice_client.py

4
discord/abc.py

@ -1839,11 +1839,11 @@ class Connectable(Protocol):
self_mute: :class:`bool`
Indicates if the client should be self-muted.
.. versionadded: 2.0
.. versionadded:: 2.0
self_deaf: :class:`bool`
Indicates if the client should be self-deafened.
.. versionadded: 2.0
.. versionadded:: 2.0
Raises
-------

4
discord/voice_client.py

@ -164,11 +164,11 @@ class VoiceProtocol:
self_mute: :class:`bool`
Indicates if the client should be self-muted.
.. versionadded: 2.0
.. versionadded:: 2.0
self_deaf: :class:`bool`
Indicates if the client should be self-deafened.
.. versionadded: 2.0
.. versionadded:: 2.0
"""
raise NotImplementedError

Loading…
Cancel
Save