[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] All permissions have been converted to strings-serialized numbers. As such, permissions_new, allow_new, and deny_new have been removed
[x] The game field has been removed. If you need a direct replacement, you can instead reference the first element of activities
[x] Channel Permission Overwrite types are now numbers (0 and 1) instead of strings ("role" and "member"). However due to a current technical constraint, they are string-serialized numbers in audit log options.
[x] embed_enabled and embed_channel_id have been removed. Use widget_enabled and widget_channel_id instead.
~[ ] Form body errors have been improved to include more helpful messaging on validation.~
[x] The Retry-After header is now based in seconds instead of milliseconds (e.g. 123 means 123 seconds)
[x] The X-RateLimit-Precision header is no longer respected. X-RateLimit-Reset and X-RateLimit-Reset-After are always returned at millisecond precision (e.g. 123.456 instead of 124)
[x] Bots no longer receive Channel Create Gateway Event for DMs
[x] delete-message-days is no longer available. Use delete_message_days.
[x] Removed roles, premium_since, and nick from Presence Update Gateway Event
[x] update routes and remove deprecated routes
[x] I ran go generate
[ ] I have performed a self-review of my own code (remember to run go fmt ./...)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Added benchmarks if this is a performant required component (potential bottlenecks)
Description
See changes here: https://discord.com/developers/docs/change-log#api-and-gateway-v8
Type of change
Checklist:
go generate
go fmt ./...
)