-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Description
https://discord.com/developers/docs/topics/permissions#role-object-role-flags
Describes Role's colors property as non-nullable, but I just bumped into a decoding issue because it was null.
Steps to Reproduce
Can provide more info if needed, but only I can run the integration tests of my library since it requires my test-bot's token.
This is the CI that failed, not sure if you can see the logs or not:
https://github.com/DiscordBM/DiscordBM/actions/runs/21912720746/job/63271062763
In a bit of rush, but if you need more info I can try to extract the JSON and all.
Expected Behavior
documentation correction.
Current Behavior
documentation is incorrectly saying colors is non-nullable.
Screenshots/Videos
No response
Client and System Information
API v10 via https://github.com/DiscordBM/DiscordBM
Reactions are currently unavailable