Breaking changes:
- Removed
disableEveryone
in favor of Allowed Mentions (ebce8dd) - Emit partial reaction events (
messageReactionAdd
&messageReactionDelete
) with partial channel objects (f9680a1)- Only
message.id
andmessage.channel.id
are guaranteed
- Only
- Replaced the
viewGuildAnalytics
permission withviewGuildInsights
, reflecting its official name (384b144)
Additions:
- Support Gateway Intents (b8df72b)
- Support Allowed Mentions (ebce8dd)
- Expose various new properties on
Message
(30577d3, 4363722) and PublicGuild
s (01c8ebb) - Support new events:
inviteCreate
&inviteDelete
(e3b4d89) - Support deleting all reactions with a specific emoji (c7c4d9d, 8deaa79)
- Support new
Message
types: 14 & 15 (2fdf6c0) - Expose audit log reason parameter in
Client#deleteMessages()
andClient#purgeChannel()
(67ab33f) - Support new properties in
Client#createGuild()
(36e49e5) - Expose
Channel#client
(ba0f2bf) - Allow passing a
Role
toClient#createRole()
(ecc40ae, e2b8c53)
Fixes:
- Fixed bugs where
CommandClient
requirements were not checked properly (3c5c35c, 03fbaac) - Fixed
libsodium
compatibility in voice encryption (2c6e707) - Fixed voice receive decoding with multiple speaking users (0d2d7f9)
- Fixed a race condition in
voiceMemberLeave
causingmember
to be null (959baf4) - Fixed various event handler errors (94a5261)
- Fixed bugs in shard disconnection handling (fbf0893)
- Fixed various image URL properties (d8256ab, a2c0678)
- Fixed potential errors in
#toJSON()
calls (fce5205) - Handle
zlib
errors during REST response reading (13d61c2) - Handle
createMessage()
errors inCommandClient
(13d61c2) - Fixed constructor errors in
getRESTGuildMember()
(4858085) - Remove unusable reaction methods from
PrivateChannel
(34ec2cc) - Removed a duplicate presence check (27d5578)
- This wasn't very effective anymore, especially given all the new fields being added to presences
- Fixed more typings (5a96e05, 6f17d1f, a5817ef, 5efc7f4, b71aad5, 0bcb29e, 6b85f57, 4529757, 71dd17e, b3b2875, f7e4b70, 26d2acb, 39399c3) and docs (64dd6a6, 76aa6ec, 6d8e211, 3970f5d)