Breaking Changes
TextVoiceChannel
now exists. Previous assumptions aboutGuildChannel
s being text XOR voice are no longer valid.- The type of
Member#premiumSince
has been changed to match the documented behaviour. It was previously being (incorrectly) passed through as the Discord-provided ISO timestamp string.
Additions
- Support timeouts (1a6e043)
- Support text-in-voice channels (d6df49a)
- Support Moderate Members permission (1a6e043)
- Support concurrent sharding for large bots (36e7a76)
- Support editing individual channel positions (bb8a45e)
- Support new 5/20s
editStatus()
ratelimit (072db2e) - Support passing
BigInt
toPermission#has()
(e963166) - Expose headers in
DiscordHTTPError
andDiscordRESTError
(2712a85)
Fixes
- Fixed
Member#user
property de-sync issues (6619b17) - Improve handling of shared ratelimits (2712a85)
- Fixed incorrect
Guild#shard
calculation (c1f1f86) - Fixed some disconnect-related gateway race conditions (a9b8ad4)
- Including the occasional zlib data error
- Fixed bitwise overflow error in
VoiceConnection
(52db153) - Updated
Constants.Permissions.all
with new permissions (b485352) - Fixed error when handling
USER_UPDATE
for uncached users (c223725) - Fixed missing audit log reason when using
deleteMessages()
(017c18a) - Fixed
Member#premiumSince
parsing (65b1850) - Fixed error in unknown interaction type handling (c6b380b)
- Fixed missing file in interaction
createMessage()
(9a55be5) - Fixed missing
defaultPermission
in command-related requests (90fad3a) - Fixed undefined
ThreadChannel#ownerID
(4ca306d) - Fixed errors in
THREAD_MEMBERS_UPDATE
handling (6ba5b05, 1a79ef6) - Fixed error when building
Message#jump
for private channel messages (2f7526a) - Fixed docs (f4db90e, b7a1189), typings (4c631f5, 98c5c8b, 44dba49, cb8971a, 42e713b, f163a56)