eris icon indicating copy to clipboard operation
eris copied to clipboard

feat(gateway/REST): V10 API changes

Open coolcalcacol opened this issue 2 years ago • 1 comments

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

coolcalcacol avatar May 07 '22 11:05 coolcalcacol

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

frobinsonj avatar Aug 09 '22 20:08 frobinsonj