Description
When modifying the recurrence_rule field of the guild scheduled event, the response from the PATCH endpoint returns an empty array of guild_scheduled_event_exceptions. However, the corresponding GUILD_SCHEDULED_EVENT_EXCEPTION_UPDATE Gateway event still contains the deleted exceptions for the old recurrence rule.
Steps to Reproduce
-
Create a scheduled event with a recurrence_rule.
-
Create an exception for the scheduled event that you just created.
-
Modify the recurrence_rule field of the scheduled event using the REST endpoint, and observe that the guild_scheduled_event_exceptions array is (correctly) empty in the response-data of the endpoint.
-
Wait for the corresponding GUILD_SCHEDULED_EVENT_UPDATE Gateway event. In the event's inner payload, you'll see that the guild_scheduled_event_exceptions field still contains the deleted exceptions.
Expected Behavior
The inner payload of the GUILD_SCHEDULED_EVENT_UPDATE event should contain an empty array for the guild_scheduled_event_exceptions field when modifying the recurrence_rule field.
Current Behavior
The inner payload of the GUILD_SCHEDULED_EVENT_UPDATE event is not an empty array and still serializes the deleted exceptions.
Screenshots/Videos
N/A
Client and System Information
N/A
Description
When modifying the
recurrence_rulefield of the guild scheduled event, the response from thePATCHendpoint returns an empty array ofguild_scheduled_event_exceptions. However, the correspondingGUILD_SCHEDULED_EVENT_EXCEPTION_UPDATEGateway event still contains the deleted exceptions for the old recurrence rule.Steps to Reproduce
Create a scheduled event with a
recurrence_rule.Create an exception for the scheduled event that you just created.
Modify the
recurrence_rulefield of the scheduled event using the REST endpoint, and observe that theguild_scheduled_event_exceptionsarray is (correctly) empty in the response-data of the endpoint.Wait for the corresponding
GUILD_SCHEDULED_EVENT_UPDATEGateway event. In the event's inner payload, you'll see that theguild_scheduled_event_exceptionsfield still contains the deleted exceptions.Expected Behavior
The inner payload of the
GUILD_SCHEDULED_EVENT_UPDATEevent should contain an empty array for theguild_scheduled_event_exceptionsfield when modifying therecurrence_rulefield.Current Behavior
The inner payload of the
GUILD_SCHEDULED_EVENT_UPDATEevent is not an empty array and still serializes the deleted exceptions.Screenshots/Videos
N/A
Client and System Information
N/A