clean_content incorrectly replaces references with markdown codeblocks, escapes #9834
Open
3 tasks done
Labels
unconfirmed bug
A bug report that needs triaging
Summary
The discord client will show e.g. `<@123456789012345>` literally, but clean_content will replace it. Similarly for \<@123...> where the escape renders it literally.
Reproduction Steps
Pass messages with various forms through clean_content and observe the official client treating them as literals:
Minimal Reproducible Code
No response
Expected Results
References that do not parse in the client should not be parsed here
Actual Results
They are
Intents
message_content, members
System Information
Checklist
Additional Context
Worth noting, clean_contents is bizarre to begin with. It "prettifies" references, but also tries to escape things? See also #1911
The text was updated successfully, but these errors were encountered: