github discordjs/discord.js 11.3.1

latest releases: 14.16.3, 14.16.2, 14.16.1...
6 years ago

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, use VIEW_CHANNEL instead (1fe201a)
  • ClientUser#setGame, use ClientUser#setActivity instead (cd06684)

Fixes

  • Disconnect from voice and remove channels of a guild upon leaving it (3df3741)
  • Fix VoiceConnection#playOpusStream by passing along opus option to the StreamDispatcher (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 to category 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 using Guild#fetchInvites (acdf43a)
  • Export CategoryChannel (f64e924)
  • Guild#fetchAuditLogs no longer internally calls Guild#fetchInvites (acdf43a)
  • TextChannel#BulkDelete discarding non-cached messages (363ead9)
  • RichEmbed didn't clone with timestamp (8f9e911)

Don't miss a new discord.js release

NewReleases is sending notifications on new releases.