Breaking changes:
- Dropped support for gateway compression with the built-in
zlib
module (6702773) - Properties on custom Error objects (incl.
DiscordRESTError
,DiscordHTTPError
) are now writable (1dfc0f7) - Any defined
CommandClient
requirements must now all be satisfied forCommand
s to execute (AND instead of OR) (07d24f5, 7f670c4) Guild#premiumSuscriptionCount
was renamed toGuild#premiumSubscriptionCount
(oops) (31a98c0)
Additions:
- Support guild subscriptions (75ee84c)
- Support channel following (af9854e)
- Support the
stream
permission (2021d06, b75bdda) - Support the
viewGuildAnalytics
permission (5d9cce5)
Fixes:
- Fixed undefined
Member#id
in REST methods (fb00c65) - Fixed unhandled errors in voice connection logic (400ee76)
- Fixed undefined variable in REST request timeout logs (c8f0c89)
- Changed splash and banner URLs to use image defaults from
Client
options (9031263) - Changed default avatar URLs to use the Discord embed CDN (43f2bec)
- Various typings (3372745, 2423da1, 5febc74, 7163514, 4284d6e, b016b05), docs (76c3969, 684eaa2, 7163514, 6f7e4fc), and code quality (31a98c0, 684eaa2, 36986b1) fixes