github discordjs/discord.js 9.1.0

Additions

  • Collection and Shard exports for external use (799054df00ace270f5046f044f692509c24f5e17)
  • Collection.some/every, and improved .filter/map (594836b1bf2d6c091becc6cc10ba4d3949e6bd44)
  • Client.emojis (bcab8805affe6bf12b7d7a4c8625d3dd5b15bf10)
  • Client.status to get the websocket status (6dfe160c522402196da48eab335e66b22fc19464)
  • ClientOptions/MessageOptions.disable_everyone to prevent accidental mentions (3b7d5e869b005ad96b236b3deb69a533c22fd799)
  • ClientUser.setStatus streaming URL parameter (db9d5b81107c38b91401f3767e05f7565005ffdd)
  • TextBasedChannel.fetchMessage to fetch a single message (48e7fad1c9b485e81f780713310505c41f82c932)
  • TextBasedChannel.sendFile content parameter (9888cef486858cd2df970570f5386e7ab48f6fe7)
  • TextBasedChannel.sendMessage and Message.edit with arrays for the content (automatically joined with newlines) (9f0db9d0d887667a21f0abe92e0b6240392fe34c, f3286402fb5f00b0a17681d5de3e67d3ea5b2e76)
  • Message.cleanContent with mentions replaced by plain text (9bef99c75cef008c166d64e9fa510b2c454b260b, bbc9df0b0dad255315513dc67976d4b24d883e8e)
  • Message.isMentioned (bf3c2839982ef97f439a7acbb90f02e2e2b20d49)
  • Message.edits with a history of all edits (17bee8084e861012c63f0e39ea6f115861d2de16)
  • MessageEmbedAuthor (bd113eef068668033622c9402dd8886a847b7efe)
  • Guild.fetchMember to retrieve a single guild member (user must be cached first) (c7b4cf3d3f71ab650134789ebbeef00225d17a7f, 465ff074e1482d270947373d37b961bded084465)
  • Guild.defaultChannel (9bdf670a14cc76f8dcb8cc4428c9bb3864d7b534)
  • Guild.ban to ban a non-member (9d694d2b67b1b0539ba96518d0dff17456ea78b3)
  • Guild.createRole data parameter to create a role and immediately update it with the given data (e1bda864f72b973a7a4733f696e57a3f65fa204c)
  • GuildMember.addRole/addRoles/removeRole/removeRoles (dc7b07022c8414a1fc2782b10f00ab6c39bca01e)
  • GuildMember.permissions and GuildMember.hasPermission for the permissions of a member with their roles only (57acd4f41ac14a2edaa474de3ede9833574d95b0)
  • Channel/Emoji/Guild/Role/User.creationDate (943767dc8345964e99d00a0bb4e7b0a9cd2bdb6b, 7fea0a3937c614300889da96919ad92600d5d1c1)
  • StreamOptions for various voice methods (f7a542f12ba51ace9819aed5acf7f9804312eaef)
  • Improved ShardingManager (2c6b804fc9824c636c8913e482a7212b8b7d3e7f)
  • Made the client property on most structures non-enumerable, so it won't display in console.log or util.inspect
  • Loads of internal organisation and cleanup
  • Lots of documentation updates

Fixes

  • fetch_all_members doesn't work for newly joined guilds (b9caa2ee5d86112e25482549c9973c031247fc10)
  • max_message_cache default doesn't match the docs (7fe032c78535fb7573191c1fed78d8e9d55f9126)
  • User.bot is inaccurate (#657, 85fae72b7b438cc9871501cb56ae783d57e22b72)
  • User.game is not reset when a user stops playing (#666, dbaaa8dc93673c3a41920daa367d8cb7ed4f2ab1)
  • Role.edit always throws an error (ab4707f9b4ec7bc02a0ff2ba4f0d0748a48bb5be)
  • @everyone permission overwrites not being taken into account (978cf9d87fad6d0b95ce9996b9de4814f737b53c)
  • Potential issue when guild members are updated (8f04fae4c089addd72ab2068e1db897846160a0a)
  • EPIPE error when skipping songs (#635, 47a164bd3633eb8e5ddd80d28dbd8355bbd1636c)
  • Handle WS error events silently (#607, dd623891e25cecf1175690bba8f1d263ba2d424b)
latest releases: 13.2.0, 13.1.0, 13.0.1...
5 years ago