Breaking changes:
- API requests now use
discord.com
instead ofdiscordapp.com
(69195fc) CommandClient
now checks cooldown before permissions (66e3abf)messageReactionAdd
event now emits (possibly partial)Member
objects instead ofuserID
(29b5293)typingStart
event now emits with partial objects (f3500d7)- Renamed
Message#removeMessageReactionEmoji()
toMessage#removeReactionEmoji()
(69025e5) - Renamed
GuildPreview#discoverySplah
toGuildPreview#discoverySplash
(12094ea) Invite#channel
andInvite#guild
can be (possibly partial)Channel
/Guild
objects, respectively (814f92b)
Deprecations:
- Mention sanitization in
Message#cleanContent
is deprecated in favour of Discord's Allowed Mentions - Deprecated
Member#permission
in favour ofMember#permissions
(296ec70)
Additions:
- Added recently-added properties to some update events (a58f710)
- Added support for custom args splitters in
CommandClient
(11c1d0b) - Added more mention sanitization to
Message#cleanContent
(13390b9) - Added
Message#jumpLink
(7ebb323) - Support
Message
type 16/17 (258e8ca) Client
debug
event strips token from some messages (a063528)messageCreate
event handler now updates the cached author (fb858ea)permissionsOf()
now acceptsMember
objects (95c4e0f)- Added
guildID
to partial messages in reaction events (375503b) - Added
GuildPreview#dynamicDiscoverySplashURL()
(12094ea)
Fixes:
VoiceConnection
no longer attempts to reconnect on 4014 close (2ab0fb9)- Fixed Shard WebSocket handling in browser environments (1ffabb0)
- Fixed
voiceStateUpdate
event filtering (1051771) - Fixed error not being passed to
CommandClient
errorMessage
handler (d6c182e) - Fixed
ShardManager
JSON serialization (a8c60fd) - Docs, typings, and package fixes (edf71bb, a5a1875, 0bfb6d1, 8a4979b, 518b9f5, 6ebf053, b9d6de1, 814f92b)