Breaking Changes:
- Node >= 8.0.0 is now required
- In an effort to clean up the codebase, ES6 features from Node 6+ and
async/await
from Node 8+ has been added to the library, and the library has been re-optimized for Node 8/V8 5.8+ performance characteristics - Future versions will probably continue to follow Node LTS Maintenance scheduling; this was an exception due to all the beneficial changes introduced in Node 8.
- In an effort to clean up the codebase, ES6 features from Node 6+ and
Additions:
- Added the new
voicePrioritySpeaker
permission (7dd9a81) - Added an option for changing the REST request timeout (0a1ea97)
- Added
getGuildBan()
(ced07c2) - Allowed CommandClient hooks to change command execution and arguments (f49bd52)
Fixes:
- Fixed cases of
Message#member
and mentioned members being null (cf82953, 54d86c3, cb93c03) - Fixed occasional errors when receiving partial message updates (6741be7)
- Fixed
purgeChannel()
's handling of non-integer numbers (8ed422b) - Elevated error visibility for connecting to the Discord gateway without a token (8c59f49)
- Fixed a bug where Discord would silently drop some bot speaking statuses (bec945f)
- Exposed falsy properties in
inspect()
/toJSON()
(94019f1, ed39970) - Fixed the
seedVoiceConnections
option (6cf3017) - Fixed CommandClient options handling for custom prototypes (d02ca9f)
- Fixed handling of reaction buttons without types (1c3b0cd)
- Fixed constructing group DM invites (3d6369a)
- Fixed user note deletion (8eb801f)
Other changes: