npm discord.js 9.2.0

latest releases: 15.0.0-dev.1731715955-c45d912c9, 15.0.0-dev.1731672307-3669d5e11, 15.0.0-dev.1731629556-677517545...
8 years ago

Additions

  • burst request mode, see this issue (#656, e75dd26)
  • MessageOptions.split to split long messages into multiple messages within the character limit (#653, 7da00cf)
  • StreamDispatcher.time and StreamDispatcher.totalStreamTime (#674, 8c0685f)
  • StreamDispatcher#start event (8f1216d)
  • VoiceReceiver.destroy/recreate (95369b0)
  • Client.fetchInvite (3dab19a)
  • TextChannel.members to see which members can see the channel (#670, c6aa162)
  • User.typingIn/typingDurationIn/typingSinceIn (c405d67, 5dd25ac)
  • EvaluatedPermissions.raw (#682, 6887977)
  • EvaluatedPermissions.hasPermissions (7933d75)
  • Role.hasPermissions (38c85dc)
  • GuildMember.hasPermissions (9e05cae, ebaaa65, 774b4d4)
  • GuildMember.permissionsIn (3fba721)
  • TextBasedChannel.sendCode (#625, 7ff9ac2)
  • Collection.find with a function parameter (ac1f5f3)
  • Collection.findKey (9560586)
  • Message.toString (ce6cb62)
  • ChannelResolvables now accept Guild and Message objects (3fba721)

Fixes

  • Preemptive rate-limiting is now stricter to avoid unlikely 429s (8941157, d7bf40c)
  • Potential error when Discord sends a typing event for a non-text-based channel (fd56417)
  • DMChannel doesn't cache the recipient user (3f52ba2)
  • GuildMember.hasPermission doesn't take guild ownership into account (3e39861)
  • Member nicknames don't get updated (48f84c6)
  • Avatars being set to undefined (5b8f882, f0a9a13)
  • guildMemberAdd triggers for presence updates where members were not previously cached (#684, af33b2b)
  • Voice problems:
  • User properties sometimes randomly get unset (f0a9a13)

Don't miss a new discord.js release

NewReleases is sending notifications on new releases.