What's New:
- Added support for reactions 🎉
- Added support for embeds
- Added support for adding/removing individual roles to/from members
- Added toJSON() and inspect() methods to some structures
- Added REST-only mode
messageUpdate
andmessageDelete
now fire with partial objects if the message was not cached ({id: "xxx", channelID: "xxx"}
)guildMemberRemoved
fires with a partial object if the member was not cached ({id: "xxx"}
)- Command is now passed on messageCreate (CommandClient only)
- Voice now has a WebM-Opus transformer for those who have Opus-encoded WebM files on hand
- CommandClient now has a cooldown message and permission message
What's Improved:
- Voice no longer disconnects when a UDP send fails
- Voice got faster and lighter 💨
- Voice got a bit more stable
- REST errors now include the method and route for easier debugging
- FFmpeg errors now have more detail for easier debugging
- Unavailable guilds are now properly removed when they become available
- Fixed getAllUsers on user accounts
- Fixed array generators in CommandClient
- Fixed
Client.editRole()
- Fixed
Client.leaveGuild()
- Fixed premature resolution
Client.deleteMessages()
Promise - Fixed crash when unblocking requests after a global ratelimit
- Fixed improper ratelimit handling for some routes
- Fixed crash caused by Discord allowing users to "join" text channels like voice channels
- Fixed crash caused by Discord sending invalid data after outages
- Fixed crash caused by members having non-existent roles
- Improved autoreconnect reliability
- Slightly improved memory usage
- Bluebird no longer loads automatically. If you still wish for eris to use bluebird, set the global Promise object to bluebird (
global.Promise = require("bluebird")
)