npm discord.js 11.5.1

latest releases: 14.15.0-dev.1714263064-798f28cb9, 14.15.0-dev.1713658222-4ad285804, 14.15.0-dev.1713312606-6759f5b9c...
4 years ago

Overview

11.5.1 is being released to fix bugs from 11.5.0, most notably not being able to modify the nickname of the current user.

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)
  • 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)

Fixes

  • Do not create channel key in GuildMember#edit (06b72ee)
  • Message#pinnable should return false for non DEFAULT messages (8c213e9)
  • ClientUser#mfaEnabled is not nullable (db492e6)

Don't miss a new discord.js release

NewReleases is sending notifications on new releases.