eris
eris copied to clipboard
feat(gateway/REST): V10 API changes
Re-created due to github being github
Breaking
- getActiveThreads has been removed, as the endpoint is no longer available
Additions
- messageContent intent added
- all and allPrivileged types and bit fields updated
Changes
- Gateway/REST version 9 -> 10
- application.summary type changed from string to explicit ""
TODO:
- document attachments changes, if anyone cares
- check if achievements are actually cared about
https://discord.com/developers/docs/change-log#api-v10
To specify a reason for an administrative action in audit logs, apps must now pass the
X-Audit-Log-Reason
header rather than the reason parameter for all endpoints.
The following should exception should probably be removed: https://github.com/abalabahaha/eris/blob/4ea56e45ffe68e95d89d7f3edcc181097f4f9f8d/lib/rest/RequestHandler.js#L104