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
I recently started seeing errors in my bot, related to Guild Integrations.
The field role_id is marked as possible and not nullable, but I receive events with it present and null, breaking the deserialization of the payload.
Steps to Reproduce
Just start a bot and wait for an integration update.
Expected Behavior
Either the doc should specify that the field may be null, or the api should not include it when it is.
Current Behavior
I receive payloads with the role_id field being null:
Description
I recently started seeing errors in my bot, related to Guild Integrations.
The field
role_id
is marked as possible and not nullable, but I receive events with it present andnull
, breaking the deserialization of the payload.Steps to Reproduce
Just start a bot and wait for an integration update.
Expected Behavior
Either the doc should specify that the field may be null, or the api should not include it when it is.
Current Behavior
I receive payloads with the
role_id
field being null:Screenshots/Videos
No response
Client and System Information
Discord4J 3.3.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: