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
Audit log entiries sent to bots on the GUILD_AUDIT_LOG_ENTRY_CREATE event come in format, that matches the API version of the app that caused the event, not the version the app that recieves the event uses.
I've encountered this with audit log entries of type 10, 12, 13, 14 & 15, but this might extend to other ones.
Steps to Reproduce
Have an app connected to gateway with the GUILD_MODERATION intent enabled; App should run on API v10
Execute an action that involves creating/updating/deleting channel permission overwrites with a rest call to API v6 (ex. delete a channel with permission overwrites)
Watch the payload of the GUILD_AUDIT_LOG_ENTRY_CREATE have permission overwrites in API v6 format
Expected Behavior
The payload of GUILD_AUDIT_LOG_ENTRY_CREATE should be in format of the API version the app that recieves the event uses.
Current Behavior
The payload of GUILD_AUDIT_LOG_ENTRY_CREATE comes in format of the API version the app that executes an action uses.
Screenshots/Videos
Client and System Information
Postman 10.19
Discord.Net 3.13 local dev build, API v10
The text was updated successfully, but these errors were encountered:
Description
Audit log entiries sent to bots on the
GUILD_AUDIT_LOG_ENTRY_CREATE
event come in format, that matches the API version of the app that caused the event, not the version the app that recieves the event uses.I've encountered this with audit log entries of type 10, 12, 13, 14 & 15, but this might extend to other ones.
Steps to Reproduce
GUILD_MODERATION
intent enabled; App should run on API v10GUILD_AUDIT_LOG_ENTRY_CREATE
have permission overwrites in API v6 formatExpected Behavior
The payload of
GUILD_AUDIT_LOG_ENTRY_CREATE
should be in format of the API version the app that recieves the event uses.Current Behavior
The payload of
GUILD_AUDIT_LOG_ENTRY_CREATE
comes in format of the API version the app that executes an action uses.Screenshots/Videos
Client and System Information
The text was updated successfully, but these errors were encountered: