Skip to content

Conversation

@onerandomusername
Copy link
Contributor

closes #3402

Copy link
Contributor

@wookie184 wookie184 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@onerandomusername onerandomusername marked this pull request as draft October 24, 2025 22:47
@onerandomusername
Copy link
Contributor Author

Converted to draft for now as I forgot to add checking for the other use mentioned in the attached issue:

for a in msg.attachments if "charset" in a.content_type

@onerandomusername onerandomusername marked this pull request as ready for review October 26, 2025 04:32
@onerandomusername
Copy link
Contributor Author

fixed the attribute error in filtering and marked as ready for review again

@onerandomusername onerandomusername changed the title fix: check for unknown/None content_type for pastebin uploader fix: check for unknown/None content_type within attachment handling Oct 28, 2025
@jb3 jb3 merged commit 77b5290 into python-discord:main Nov 11, 2025
5 checks passed
@onerandomusername onerandomusername deleted the qt/require-content-type branch November 11, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues due to lack of check for when Attachment.content_type is None

3 participants