npm discord.js 13.2.0

latest releases: 15.0.0-dev.1731629556-677517545, 15.0.0-dev.1731413115-e2df0e0db, 15.0.0-dev.1731370303-b8f5a6829...
3 years ago

Bug Fixes

  • *RoleManager: Create set of role ids correctly (#6674) (f8aa4bd)
  • AllowedImageSizes: add new image sizes (#6754) (d0025be)
  • BaseClient: Remove selfbot ability (#6429) (9a833b1)
  • CachedManager: return updated data when cache is false (#6685) (8426770)
  • Constants: allow undefined size (#6686) (d3da833)
  • GuildChannel: Fix manageable method for voice-channels (#6447) (9301c9b)
  • GuildEmoji: Cache restricted roles and author data (#6675) (60b8ba6)
  • GuildManager: add missing types and converts (#6683) (cdf65f7)
  • Invite: #guild never resolving into a Guild (#6742) (b76bb8a)
  • Message: avoid overwriting properties in _patch (#6738) (a8c21cd)
  • Message: fix typo (#6435) (ecb6e50)
  • Message: pinnable returning false in non-DEFAULT messages (#6585) (3183b11)
  • Message: throw error on missing channel (#6581) (60aa9ae)
  • MessageAttachment: re-assign name (#6518) (8a8c69a)
  • ReactionCollector: only call the filter function once (#6734) (d15dd5f)
  • Role: toJSON() throwing due to permission bigints (#6724) (9e421f6)
  • Shard: eval promise never resolves (#6649) (5070d23)
  • Shard: use provided timeout when respawning (#6735) (905d100)
  • Sticker: Rename method correctly to _add (#6421) (2c449b6)
  • ThreadChannel: fetchStarterMessage bug (#6584) (08edc0b)
  • threadMembersUpdate: fixed typo (#6589) (8826e9f)
  • User: compare flags in #equals (#6750) (00e1e26)
  • UserUpdateAction: rely on client.user when ids match (#6511) (1418649)
  • Util: allow empty strings in splitMessage (#6437) (d6e6244)
  • Util: default animated to false when omitted on resolvePartialEmoji (#6725) (8d80fec)
  • VoiceState: Patch streaming value (#6747) (7eec061)
  • allow null to be passed in order to reset icon/avatar (#6646) (6033506)
  • await message component collectors should return component interactions not collectors (#6562) (f49f70a)
  • don't patch set data with undefined (#6694) (9eb9591)
  • xxxable: follow more properly with discord behavior (#6551) (5d87398)

Features

  • add support for role icons (#6633) (7129965)
  • ApplicationCommand: add #equals (#6414) (581921f)
  • ApplicationCommand: add support for channel_types (#6640) (3b14883)
  • ApplicationCommand: add version property (#6603) (f866512)
  • BaseGuildTextChannel: export BaseGuildTextChannel (#6527) (fc51f61)
  • CategoryChannel: add createChannel shortcut method (#6614) (3eacf7a)
  • Guild: Add Guild#maximumBitrate getter. (#6455) (21983de)
  • Integration: add missing props and fix docs/types (#6623) (caa3b60)
  • Interaction: add memberPermissions (#6741) (28d96e3)
  • Allow webhooks to fetch, edit and delete messages in threads (#6695) (107822d)
  • GuildMember: add guild avatars (#5696) (dfd7b40)
  • InteractionReponses: allow fetching of ephemeral messages (#6426) (d289d5c)
  • Message: Add method to resolve a component by id (#6484) (57b94b9)
  • Message: prevent fetching an interaction webhook. (#6468) (f39b597)
  • MessageAttachment: add support for ephemeral property (#6652) (c5db0ff)
  • MessageAttachment: allow files to be marked as spoilers (#6509) (96e26c4)
  • MessageTypes: add CONTEXT_MENU_COMMAND (23) (#6425) (d81590d)
  • PartialGroupDMChannel: Add recipients & fix name (#6713) (2803db6)
  • Permissions: add START_EMBEDDED_ACTIVITIES (#6622) (66a90d3)
  • Threads: update permissions and fix getters (#6466) (10478ad)
  • UserManager: allow #fetch to take UserResolvable (#6677) (a06a87a)
  • add api error code 160002 (#6566) (d16ada9)
  • add api error code 30042 (#6635) (183dbd7)
  • add api error code 50101 (#6663) (42fdcaa)
  • add maximum prune requests reached api error (#6427) (a4b8623)
  • Add support for API command types in ApplicationCommandManager (#6621) (ecd637f)
  • default values for setX boolean methods (#6619) (8add4b0)
  • Give removed MessageReactions on messageReactionRemoveAll event (#6607) (be8912a)
  • Rest: expose https.Agent options (#6177) (5eb3553)
  • ThreadChannel: add fetchStarterMessage (#6488) (705c5a1)
  • Threads: add support for invitable in private threads (#6501) (a693254)
  • User: banners and accent colors (#6117) (839c6da)
  • export BaseCommandInteraction (#6478) (c14e594)
  • export ContextMenuInteraction (#6434) (170c0c4)
  • set methods for MessageActionRow and MessageSelectMenu (#6490) (fb50dd9)

Performance Improvements

  • use logical assignments instead of if statements (#6693) (e9daa31)

Don't miss a new discord.js release

NewReleases is sending notifications on new releases.