aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Steele Farnsworth <[email protected]>2025-02-08 12:56:56 -0500
committerGravatar Steele Farnsworth <[email protected]>2025-02-08 12:56:56 -0500
commit35cfb5481e600f08094708c1725d7a37219576e9 (patch)
treed4e317cb8371688008e1aff58bc9d177c29250e5 /tests
parent`and` -> `or` (diff)
Use `"charset" in Attachment.content_type` to determine that it's text-based.
Previously, `on_message` used `Attachment.content_type.startswith("text")` for this, but this is false for some text-based files (like json).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions