Overview
- Fixes bugs from
11.3
- Improves documentation & adds examples
Deprecations
Guild#defaultChannel
is now deprecated, there will be no fallback/alternative (407500b)- Permissions:
READ_MESSAGES
is now deprecated, useVIEW_CHANNEL
instead (1fe201a) ClientUser#setGame
, useClientUser#setActivity
instead (cd06684)
Fixes
- Disconnect from voice and remove channels of a guild upon leaving it (3df3741)
- Fix
VoiceConnection#playOpusStream
by passing alongopus
option to theStreamDispatcher
(96904b1) Guild#createRole
incorrect guild reference (932980e)- Fix param in
ClientUser#setPresence
(8cbefcc) - Don't overwrite typing entry making it impossible to stop typing in a channel (8df1ac9)
- Set the type in
CategoryChannel
tocategory
and document its type (b5ff309) Webhook#send
documented and returned incorrectly (e978253)resolveColor
not interpreting DEFAULT correctly (52c402f)- Do not create additional guild instances when re-identifying as new session (dc92582)
- Let the process end gracefully after calling
Client#destroy
(af75e43) - Properly ratelimit the gateway with 120/60 instead of 60/120 (7f5c103)
GuildAuditLogs
usingGuild#fetchInvites
(acdf43a)- Export
CategoryChannel
(f64e924) Guild#fetchAuditLogs
no longer internally callsGuild#fetchInvites
(acdf43a)TextChannel#BulkDelete
discarding non-cached messages (363ead9)RichEmbed
didn't clone with timestamp (8f9e911)