npm discord.js 11.6.2

latest releases: 15.0.0-dev.1730808312-1184b38d3, 15.0.0-dev.1730721917-1fd662629, 15.0.0-dev.1730030704-ed78e4570...
4 years ago

Overview

11.6.2 is being released to fix a bug involving the ReactionCollector.

Deprecations

  • All user account-only methods have been deprecated (95a2d25)
  • ClientUser#setGame in favor of ClientUser#setActivity (cd06684)
  • Collection#exists in favor of Collection#some (09ddbcb)
  • Collection#find and Collection#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)
  • Guild#deleteEmoji in favor of Emoji#delete (c355236)
  • The old method signature of GuildChannel#clone in favor of using an options object (ab866d6)
  • Permissions.flags: READ_MESSAGES in favor of VIEW_CHANNEL (1fe201a)
  • Permissions#allowed and Permissions#denied in favor of Permissions#allow and Permissions#deny respectively (58ba2c7)
  • PermissionOverwrites#allowed and PermissionOverwrites#denied in favor of PermissionOverwrites#allow and PermissionOverwrites#deny (db492e6)
  • The peer dependency @discordjs/uws is now deprecated and will be removed with the next major release (5556b05)
  • The peer dependency node-opus is now deprecated, use @discordjs/opus instead (6ab4649)

Fixes

  • Only modify users and total when a reaction was actually collected (20075e3)

Don't miss a new discord.js release

NewReleases is sending notifications on new releases.