-
-
Notifications
You must be signed in to change notification settings - Fork 479
docs: voice member #3023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
docs: voice member #3023
Conversation
The docstring for the Member.voice property now includes a detailed Returns section, clarifying the return type and behavior when the member is not in a voice channel.
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/3023/head:pr-3023
git checkout pr-3023This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3023/head |
| @property | ||
| def voice(self) -> VoiceState | None: | ||
| """Returns the member's current voice state.""" | ||
| """Optional[:class:`VoiceState`]: Return the member's current voice state.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| """Optional[:class:`VoiceState`]: Return the member's current voice state.""" | |
| """ | |
| Returns | |
| ------- | |
| Optional[:class:`VoiceState`]: | |
| The member's current voice state. | |
| """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks the docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Paillat <[email protected]> Signed-off-by: Lala Sabathil <[email protected]>

Summary
i do understand the point of this change, but at the same time i did it for 1 property but not the 1000 others
Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.