What's New:
- Added audit log support (6130310, 0b3c9be, cd69156, 2e0afd3, 0dd8251)
- Added audit log reason parameter to all possible endpoints (a3c812a)
- Added message type 7 (system join message) support (6b58105)
- The
userUpdate
event is now emitted for the bot account (34ac122) - Added support for a lot more user account only endpoints (98d1a0f)
- editAFK() has been separated from editStatus() (af9c86d)
- Added reaction button support to CommandClient (eecd8d8)
- Added withCounts support to getInvite() (85ff415)
- Added Guild.explicitContentFilter handling (72bff13)
- Added GuildChannel.nsfw getter (e5891b3, e0b132b)
- Added support for multiple attachments in one message (3937f1a)
- createMessage() with
null
content now sends "null" (useundefined
to avoid this)
What's Improved:
- Fixed
messageUpdate
event behavior (ef73d67)- If the message wasn't cached,
oldMessage
should be null, and message will be incomplete - If the message was cached,
oldMessage
should have the changeable properties of the cached message
- If the message wasn't cached,
- Latency is now computed when receiving response headers (less false negatives for system clock sync) (ed73534)
- Voice connections to deleted guilds will automatically disconnect (5bb6a59)
- Using
uws
no longer requirespako
to be installed (9b6485e, 736f834) - Autoreconnect no longer activates for disconnects caused by invalid tokens and shards with too many guilds (9d1ad7c)
- Optimized file uploads (6b58105)
- Fixed voice WS error handling (3f6565d)
- Fixed user guild settings handling (6b58105)
- Added duplicate role check in editGuildMember() (6b58105)
- Fixed
deleteCommand
for errored commands in CommandClient (6b58105) - Fixed subcommand default arguments in CommandClient (100c8fc)
- Fixed uninterrupted voice region switching (8d8431c)
- Fixed joinVoiceChannel() permission check & race conditions (5451533, ccb14a9)
- Fixed handling of received voice packets from browsers (e28153a)
- Fixed some dynamic/static avatar/icon URL related bugs (2fe2dfb)
- Fixed crash caused by people leaving servers that didn't exist (04490ee)
- Fixed crash when detaching from SharedStream (b11c110)
- Fixed DCA transformer (bb7401e)
- General stability improvements