send(suppress=True) causes TypeError: Type is not JSON serializable: flag_value #1674
Closed
3 tasks done
Labels
unconfirmed bug
A bug report that needs triaging
Summary
I upgraded to v2.2.1 and edited my code to use .send(suppress=True) instead of a combo of send & edit(suppress=True). Such change prompted the exception described in the title. I think addition of suppress to sending isn't working correctly.
Reproduction Steps
Minimal Reproducible Code
Expected Results
The code works in the same way as the combo of sending & editing with the suppress keyword argument, saving one API call on its way.
Actual Results
Code crashes.
Intents
guilds, members, message_content
System Information
(but getting the same error on CI with Linux)
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: