Repository navigation
Conversation
…tax (#3407) * Update old None-types to use correct syntax This will make None clickable in the docs and lead to the python docs * Documentation changes * Code changes * Fix up extra space * Apply change requests and fix docs * Apply change requests Co-authored-by: Michael <8661717+sgtlaggy@users.noreply.github.com> * Update new leftover Optionals use * Update old :data:None to use obj:None style Napoleon seems to internally use this style as well, so I'm choosing it over the existing :data: type --------- Co-authored-by: Michael <8661717+sgtlaggy@users.noreply.github.com>
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/3438/head:pr-3438
git checkout pr-3438This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3438/head |
…elopment/pycord into feat/content-scanning
plun1331
marked this pull request as ready for review
November 11, 2026 20:30
Member
Author
Member
|
Good idea yeah |
…elopment/pycord into feat/content-scanning
…elopment/pycord into feat/content-scanning
ToothyDev
approved these changes
Nov 11, 2026
ToothyDev
requested changes
Nov 11, 2026
ToothyDev
left a comment
Contributor
There was a problem hiding this comment.
uv.lock shouldn't be here :)
Member
Author
i was wondering why it stopped showing up in my changelist |
Paillat-dev
requested changes
Nov 14, 2026
Paillat-dev
left a comment
Member
There was a problem hiding this comment.
Since this adds lots of docs, would appreciate @JustaSqu1d 's review when they have time
| else: | ||
| self._thumbnail = { | ||
| "url": str(url), | ||
| "description": str(description), |
Member
There was a problem hiding this comment.
This will be litterally "None" when set to None, same issue in other similar str() usages
Comment on lines
+1014
to
+1016
| r.attachment_id = ( | ||
| int(data["attachment_id"]) if "attachment_id" in data else None | ||
| ) |
Member
There was a problem hiding this comment.
I think there's a util for this
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
UnfurledMediaItem, and adds missing attributesEmbedMediano ai slop to see here
Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.