Overview
11.5.0
is being released to fix bugs from 11.4.2
, backport new events from v12.0.0-dev
and prepare users for the release of v12.0.0
.
Deprecations
- All user account-only methods have been deprecated (95a2d25)
ClientUser#setGame
in favor ofClientUser#setActivity
(cd06684)Collection#exists
in favor ofCollection#some
(09ddbcb)Collection#find
andCollection#findKey
's'prop', 'val'
overload is deprecated, pass a function instead (09ddbcb)Collection#filterArray
, convert to an array and filter, or the other way around instead. (09ddbcb)Collection#findAll
, filter and then convert to an array, or the other way around. In addition, the'prop', 'val'
overload is also deprecated - pass a function instead (09ddbcb)Guild#createChannel
when specifying options without using an options object (7ea88ad)Guild#defaultChannel
, there will be no fallback/alternative (407500b)Permissions.flags
:READ_MESSAGES
in favor ofVIEW_CHANNEL
(1fe201a)Permissions#allowed
andPermissions#denied
in favor ofPermissions#allow
andPermissions#deny
respectively (58ba2c7)
Additions
- Add support for news and store channels (5e4654e, 8a086e0)
- Add
WEBHOOKS_UPDATE
event (4530981, bd14d5d) - add
GUILD_INTEGRATIONS_UPDATE
event (3345c77) - Add
WHITE
as aColorResolvable
(5272cec) - Add support for creating a channel via
Guild#createChannel
with a position (7bc2e23) - Add support for all possible options in
Guild#createChannel
(7ea88ad, 691aaef) - Add
Guild#fetchBan
(5cd6d8d) - Add
withReasons
parameter toGuild#fetchBans
(5cd6d8d) - Add
Guild#fetchEmbed
andGuild#setEmbed
(091b4fc) - Add
Guild#fetchVanityCode
(c6201ee) - Add
ClientOptions#retryLimit
(e0f522a) - Add
Presence#clientPresence
(a2a0c05) - Add support for
RichEmbed#setTimestamp
to accept a numeric timestamp (49e8bd9) - Add
RichEmbed#length
(890b1be) - Add
TextBasedChannel#lastPinTimestamp
andTextBasedChannel#lastPinAt
(ea3e575) - Add
TextChannel#rateLimitPerUser
andTextChannel#setRateLimitPerUser
(1e85887) - Add error code 50020 (359ddaf)
- Add support for voice kicking (ee42bdf)
Fixes
- Correct webpack improperly handing deprecation warnings (7684ad3)
- Ignore voice states referencing an invalid channel (73aaab5)
- You can now create dispatchers with a volume of
0
(745e18b) Emoji#fetchAuthor
now rejects with a more descriptive error when missingMANAGE_EMOJI
permissions (45a17e7)Guild#addMember
not resolving correctly if provided a user id (93bf430)Guild#deleteEmoji
will reject non-emoji objects or id's (cd58599)GuildChannel#lockPermissions
not resolving permission bitfields correctly (1fc84a9)GuildMember
s removed from theirVoiceChannel
when leaving the guild (b3f4590)GuildMember#edit
andGuildMember#setVoiceChannel
throw a more descriptive error when passed bad input (a0ff72b)Message#editedTimestamp
being null after edits (616e0dd)Permissions.resolve
not accepting aPermissions
instance (5d889be)Role
s with the sameposition
are sorted in the correct order (923c945)Util.splitMessage
now throws an error if any, not just one, chunk exceeds the max length (1618829)WebhookClient
not handling ratelimit event properly (4ee3cf0)