You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the on_message_edit(before, after) event, the after._raw_data attribute appears to contain outdated data — specifically, it reflects the original message content from on_message() rather than the updated content
The after._raw_data attribute in on_message_edit should reflect the updated message data (e.g., new content, embeds, etc.) after an edit, similar to how after.content is updated
Actual Results
In the on_message_edit(before, after) event, both after._raw_data and before._raw_data contain the original message content — identical to what was received in the on_message() event — rather than reflecting any edits made to the message
Intents
intents.message_content = True
System Information
Python v3.12.9-final
py-cord v2.6.1-final
aiohttp v3.11.18
system info: Linux 6.6.30-android15-8-g94c1a24cabd5-ab12293704-4k Update README.rst #1 SMP PREEMPT Thu Aug 29 05:01:15 UTC 2024
Summary
In the
on_message_edit(before, after)event, theafter._raw_dataattribute appears to contain outdated data — specifically, it reflects the original message content fromon_message()rather than the updated contentReproduction Steps
None
Minimal Reproducible Code
Expected Results
The
after._raw_dataattribute inon_message_editshould reflect the updated message data (e.g., new content, embeds, etc.) after an edit, similar to howafter.contentis updatedActual Results
In the
on_message_edit(before, after)event, bothafter._raw_dataandbefore._raw_datacontain the original message content — identical to what was received in theon_message()event — rather than reflecting any edits made to the messageIntents
intents.message_content = True
System Information
Checklist
Additional Context
No response