Releases
11.2.0
iCrawl
released this
03 Sep 17:16
Deprecations
Guild#defaultChannel
is now deprecated, there will be no fallback/alternative (407500b )
Permissions: READ_MESSAGES
is now deprecated, use VIEW_CHANNEL
instead (1fe201a )
Additions
MESSAGE_DELETE
action for audit logs (712305d )
MESSAGE
action for audit logs (7d7f1b2 )
Invite#presenceCount
and Invite#memberCount
(ee622f7 )
Webhook#send
now accepts multiple files (fd7cb41 )
Invite#textChannelCount
and Invite#voiceChannelCount
(28a29d5 )
NSFW search option (3ec08d5 )
MEMBER_ROLE_UPDATE
action for audit logs (2f1eb71 )
Guild#setExplicitContentFilter
(e3232bd )
Expose DiscordAPIError
and API error constants (b9434ed )
count
optional argument to Collection methods (d513c4b )
TextChannel#nsfw
is now a property to indicate if a channel is nsfw or not (ed84d76 )
Audio bitrate support (cba4cc2 )
Guild#nameAcronym
(cd4a69d )
Reasons on every possible action that can take a reason (be4ccb3 )
Guild#createRole
now takes into account the position you pass and sets it accordingly (be4ccb3 )
OAuth2Application#resetToken
(f7664b0 )
Retry on error code 500 (f7664b0 )
Support for UserGuildSettings
(f7664b0 )
Attachment structure to make sending files/embeds easier (0b22d9a )
You can now pass Attachments and RichEmbeds as MessageOptions or send embeds directly
ResolveFile now accepts NodeStreams in addition to the already current options.
Support for GroupDMChannel#iconURL
, GroupDMChannel#setIcon
,
GroupDMChannel#setName
and GroupDMChannel#removeUser
(17d7f5c ) (1fe201a )
Support for Guild#afkChannel
, Guild#systemChannel
and Guild#setSystemChannel
(e76ebb4 )
You can now pass a Collection to the filter of a Collector (bce5b67 )
Internally, DiscordAPIError
now takes a #path
to help narrow down issues (95e22c2 )
Fixes
mentions
to Mentions
in RESTMethods (e96daba )
fetchMeMentions
to fetchMentions
in RESTMethods (3a73628 )
Guild#deleteEmoji
and editing related Emoji methods (41e0be1 )
GuildAuditLogsEntry#extra
now properly returns values (7d7f1b2 )
GuildAuditLogs
Target.INVITE uses the right properties now (1fc6e3b )
fetchMentions
in RESTMethods sends a proper auth header and params are now fully optional (1e115ef )
Client#login
Reject token errors properly (7980187 )
GuildMember#setVoiceChannel
moves member properly again (e3c3a4f )
Properly reject instead of throw in GuildMember#addRole
and GuildMember#removeRole
(45bc653 )
Infinite loop in DiscordAPIError
reaching maximum call stack size (6eced4d )
Unhandled exception when using µws (19d4d3b )
Don't ignore non-missing engine errors (2116fba )
Remove unused VoiceBroadcast#guaranteeOpusEngine
(1ed6bbc )
VoiceConnection#authenticateFailed
race condition (b5de89a )
Client#token
is not enumerable anymore (f1a74f2 )
Client#setTimeout
uses args correctly now (4ce4dc0 )
String.toLowerCase()
errors in GuildAuditLogs (822c1f5 )
DiscordAPIError#message
sometimes being undefined (a56a24d ) (bdc61a4 ) (8a9b6cb )
Double increments on the reaction count when the client reacts (2611efe )
Consistently store message reactions keyed under their unicode (425efe1 )
OAuth2Application#reset
resets the token now as well (f7664b0 )
Webhooks options now function properly (splitting as whole, with files and embeds) (0b22d9a )
You can now reset the icon and splash with Guild#edit
(0b22d9a )
The burst ratelimit handler properly rejects with a DiscordAPIError
on all 4xx now (0b22d9a )
Buffers can again be send directly in the files array of the Message Options (95e22c2 )
ADMINISTRATOR
permission edge case which didn't resolve permissions correctly (0d6b7ce )
You can’t perform that action at this time.