brainboxdotcc / DPP

C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
https://dpp.dev/
Apache License 2.0
1.01k stars 155 forks source link

QoL fix: Enhance the entitlement stuff with data from the actual api docs now there are some #1166

Closed braindigitalis closed 1 month ago

braindigitalis commented 1 month ago

Adds missing fields from the docs and no longer assumes guild and user are both owner_id

Code change checklist

netlify[bot] commented 1 month ago

Deploy Preview for dpp-dev ready!

Name Link
Latest commit c5ef44b173af65cfdd1bbc24475783d671017229
Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/666739352b33ea0008377cf2
Deploy Preview https://deploy-preview-1166--dpp-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

braindigitalis commented 1 month ago

NOTE

This is a breaking change, as it changes the fields directly within dpp::entitlement. The old fields were insufficient for the reality of the API.