What's New:
- VoiceConnection now has
speakingStart
andspeakingStop
events (which were previously undocumented) User.avatarURL
now returns a gif url if the user has a gif avatar. UseUser.staticAvatarURL
if you want to avoid animated avatars- Shards now keep track of their latency (
Shard.latency
) Client.deleteMessages()
no longer deletes messages older than 2 weeks (new Discord limitation)Message.guild
is being deprecated soon
What's Improved:
- Editing most objects no longer requires the object to be cached
- Fixed getting Guild objects via the REST API
- Fixed CommandClient's cooldown message, case insensitive aliases, and role requirements
- Fixed an potential undefined reference in
Message.cleanContent
- Fixed Guild emoji method aliases
- Fixed undefined message IDs in
messageReactionRemove
events - Fixed the WebmOpusTransformer class name
- Fixed random bursts of static when playing audio with
inlineVolume
- Fixed the old state data in
voiceStateUpdate
- Fixed editing roles right after creation
- Improved voice connection stability
- Updated SharedStream voice loop with the improvements in the current VoiceConnection loop
- Bumped tweetnacl version