github discordjs/discord.js 9.2.0

Additions

  • burst request mode, see this issue (#656, e75dd2638c2e479b5756b38986fe980582beda6d)
  • MessageOptions.split to split long messages into multiple messages within the character limit (#653, 7da00cf0fe4ab0cf021235220895216ac96c7a4f)
  • StreamDispatcher.time and StreamDispatcher.totalStreamTime (#674, 8c0685fa9a827bfa11e1864fcb6958f3df948c24)
  • StreamDispatcher#start event (8f1216d9a5dc896a549cddac450e5fcebc1a7bb7)
  • VoiceReceiver.destroy/recreate (95369b0a89f6dd616203c55e9d31a804869788dd)
  • Client.fetchInvite (3dab19a3bccd7e442e179aa908482ef7e4551ea9)
  • TextChannel.members to see which members can see the channel (#670, c6aa16277acfdd542b68128034975f2f4d7b8952)
  • User.typingIn/typingDurationIn/typingSinceIn (c405d67e09d8fb05f1cc7afe8ce256b54976aebb, 5dd25ac1f1af926583a35b3288b5f8b20e1b45c2)
  • EvaluatedPermissions.raw (#682, 68879777d8854425a46c781a63b9b1e4e2d0f9e1)
  • EvaluatedPermissions.hasPermissions (7933d755befbde8be94c8e22948c1ddc1e9accdb)
  • Role.hasPermissions (38c85dc076c5df7c0ec0cf8a96f049a70b1de201)
  • GuildMember.hasPermissions (9e05caec0d9ce3508cc070ad14de2de56d1f26b1, ebaaa65741093109ce6808bdd4d22b1b6fa2e5b2, 774b4d46940c989f2a59f04f36532f1f1b14c0a3)
  • GuildMember.permissionsIn (3fba72107bde15a3c4e4030c6ba66b171bd3202a)
  • TextBasedChannel.sendCode (#625, 7ff9ac2bccaaadef9bee57daafffe9ef89bb982f)
  • Collection.find with a function parameter (ac1f5f32e24fd8651bab958a390952dbf79ca7d6)
  • Collection.findKey (95605863c7602e4a462bf62cd03abf9cd01e1a73)
  • Message.toString (ce6cb626dcdd0b64ceb221536fc914d559d77d3d)
  • ChannelResolvables now accept Guild and Message objects (3fba72107bde15a3c4e4030c6ba66b171bd3202a)

Fixes

  • Preemptive rate-limiting is now stricter to avoid unlikely 429s (894115758c68d39d7ff624e3881ec7bebd5393e5, d7bf40cab0b8fa084f1218996638f70d55d53375)
  • Potential error when Discord sends a typing event for a non-text-based channel (fd564176fff2a2bd0250c1788049477553532943)
  • DMChannel doesn't cache the recipient user (3f52ba27c937cd433bf52521be31baa323936c1a)
  • GuildMember.hasPermission doesn't take guild ownership into account (3e39861534014eb6e17b92737a61255b27d17b17)
  • Member nicknames don't get updated (48f84c6178304e1bb8d8dc465a022089d3364011)
  • Avatars being set to undefined (5b8f882a0fade4ed455d1cbe410946d2c418fa7a, f0a9a1353fad6e46add1664f9f7c73e69ac868d8)
  • guildMemberAdd triggers for presence updates where members were not previously cached (#684, af33b2b5bbedb3d73084d6930638af4de3b972ca)
  • Voice problems:
    • "Stream not generating fast enough" (#680, 77e83fb85af09d2e2cd767ae04aa9dad348e5c5f)
    • ECONNRESETs (#650, 77e83fb85af09d2e2cd767ae04aa9dad348e5c5f, b39d959cdf8c45372cf838fdef9495d71f4c229b)
    • Mono streams play at 2x rate (#689, 02b257e1fccb9bc2d7c8bf17fb5936d90d8a1939)
  • User properties sometimes randomly get unset (f0a9a1353fad6e46add1664f9f7c73e69ac868d8)
latest releases: 13.2.0, 13.1.0, 13.0.1...
5 years ago