Deprecations
- Discord has seemingly never supported the
before
parameter ofgetMessageReaction()
, so that has been removed but is not considered a breaking change (3e86cd7) createMessage()
now usescontent.messageReference
for referencing messages. Thecontent.messageReferenceID
parameter is deprecated (c3d491d)- Some requests with paginated responses now use an
options
object for parameters. The old call style is deprecated (ec777a1)- e.g.
getMessages(channelID, limit, before, after, ...)
=>getMessages(channelID, { limit, before, after, ... })
- Includes:
getMessageReaction()
,getMessages()
,getGuildAuditLogs()
,getRESTGuildMembers()
,getRESTGuilds()
, andpurgeChannel()
- e.g.
getGuildAuditLogs()
was renamed togetGuildAuditLog()
. The old name is deprecated (ec777a1)
Additions
- Added support for
editGuildVanity()
(c152aac) - Exposed
Message#interaction
(5837a31) - Exposed
Guild#nsfw
(9223266) - Added support for stage channel REST methods (b6d51ee)
- Added support for
getWebhookMessage()
(2a840a0) - Added support for Guild welcome screen endpoints (fba1f7c)
- Exposed
Role#tags
(824ccf7)
Fixes
- Fixed handling of
getGuildIntegrations()
options (0a3490f) - Improved ratelimit handling (d58b788)
- Particularly for deleting >=2-week-old messages and reactions
- Fixed handling of voice server switches and disconnects (e2814a2, 95cffe4)
- Fixed some voice (re)connect stability issues (94e7e18)
- Fixed an issue where voice receive occasionally stops working (94e7e18)
- Improved memory handling of voice sending (939b70f)
- Fixed an issue where recently-disconnected voice connections could prevent the process from exiting (ff4bcc0)
- Various typings/docs fixes (2dff361, ed23407, fcd608d, b3c1b38, c222bc5, 608524d, 90b0bb4, 8d3120e, 5f7769d, e06f38a, 340ffe9, 028efe3, 2f6c71e)