-
-
Notifications
You must be signed in to change notification settings - Fork 481
fix: 🐛 Fix docs rendering for ForwardedMessage and MessageSnapshot and add missing attributes
#3051
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?
fix: 🐛 Fix docs rendering for ForwardedMessage and MessageSnapshot and add missing attributes
#3051
Conversation
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/3051/head:pr-3051
git checkout pr-3051This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3051/head |
|
The length of Should this be part of the docstring? |
ForwardedMessage and MessageSnapshot and add missing .mentions propertyForwardedMessage and MessageSnapshot and add missing attributes
Paillat-dev
left a comment
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.
lgtm
This knowingly doesn't work yet due to a Discord limitation / unresolved discussion on the API. A warning in the docs is in place
Paillat-dev
left a comment
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.
tested, works; code lgtm
Summary
This PR makes it so the docs for
ForwardedMessageandMessageSnapshotactually render in the docs, as well as initialising the documentedForwardedMessage.mentionsandForwardedMessage.typeproperty, see #3050Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.