discord-api-docs
discord-api-docs copied to clipboard
Automod Execution events missing a required key in payloads
Description
matched_content
and content
are documented as optional, but as of a recent change (like 3-4 days), are no longer provided when the message content intent is disabled. This goes against the documentation, and is a breaking change.
Steps to Reproduce
Can't provide curl requests due to this being over the gateway.
- Provide the automod execution intents to the gateway when connecting, while making sure the message_content intent is not provided.
- Have the manage_guild permission to ensure that execution events are received
- Use an account to send a message that will be filter.
- Receive the execution event
Expected Behavior
The matched_content
and content
keys are provided.
Current Behavior
The matched_content
and content
keys are not provided.
Screenshots/Videos
No response
Client and System Information
disnake 2.6.0a
Suggested fix: AutoMod policy executions should happen on a stealth drop, i.e., shadow ban, basis.
Suggested fix: AutoMod policy executions should happen on a stealth drop, i.e., shadow ban, basis.
There has already been a documentation fix?
This was silently fixed in the past few days, so I suppose it no longer is a bug, but I'm disappointed that it was not acknowledged.