Skip to content

Releases: discordjs/discord.js

13.3.1

01 Nov 17:48
5ec04e0
Compare
Choose a tag to compare

Bug Fixes

  • assert channel types in message actions (#6919) (9bd3689)
  • MessageEmbed: only compare image urls in #equals (#6926) (95d2a4d)
  • correctly access guild IDs inside managers (#6927) (2d9ffb8)

13.3.0

29 Oct 18:13
0238da4
Compare
Choose a tag to compare

Bug Fixes

  • Handle message bulk delete and thread delete in collectors (#6902) (d6685b1)
  • AllowedImageSizes: add new image sizes (#6844) (ef01b84)
  • ApplicationCommandManager: update guild command cache on c/u/d (#6841) (f169c8f)
  • Guild: guild.available is never set on new joins (#6769) (29667c9)
  • GuildBanManager: send reason in the headers instead of json body (#6800) (bfb89de)
  • GuildMember: more explicit partial check (#6760) (b1656bf)
  • MessageComponentInteraction: component getter is not null anymore (#6835) (7621e9d)
  • TextBasedChannel: return the cached message instead of clone it (#6877) (ceaf738)
  • PartialGuildMember#id is not null (#6840) (4dff279)
  • MessageReaction: Prevent event double fire from uncached messages (#6818) (267a4b3)
  • Role: check for presence of icon and unicode_emoji before patching (#6780) (e31c5ca)
  • Types: export more types (#6808) (b474677)
  • User: don't generate the banner URL when not cached (#6783) (0d599a1)
  • Webhook: Resolve source guild only if cached (#6834) (d193d04)

Features

  • ThreadMemberManager: allow individual members to be fetched (#6889) (14716df)
  • add support for autocomplete interactions (#6672) (ddf759c)
  • MessageEmbed: add #equals (#6885) (fae4abf)
  • StartThreadOptions: default autoArchiveDuration to channel's defaultAutoArchiveDuration (#6278) (740d3f0)
  • Add rtcRegion to GuildManager#create() (#6858) (399e720)
  • add typeguards to webhooks (#6850) (e0afcad)
  • Client: add apiResponse and apiRequest events (#6739) (26f927b)
  • CommandInteraction: add toString method (#6793) (bd48e6d)
  • GuildChannelManager: add 'rtcRegion' option to 'create' method (#6849) (487d32d)
  • Interaction: add isApplicationCommand check (#6801) (6898fa3)
  • ModuleImporter: implement import module compatible with bundlers (#6709) (d399a28)
  • Permissions: add checkAdmin to permission overwrite checks (#6847) (7513b45)

13.2.0

06 Oct 06:38
26340ac
Compare
Choose a tag to compare

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: ...
Read more

13.1.0

12 Aug 22:34
d0bc4d7
Compare
Choose a tag to compare

Bug Fixes

  • Constants: fix CDN endpoint typings (#6332) (47d2ef3)
  • ContextMenuInteraction: store message as raw value (#6400) (d9456a1)
  • Guild: preferredLocale to always be a string (#6402) (4a64662)
  • GuildMemberRoleManager: typo (#6335) (d87299b)
  • Managers: fix typo in unsupported warning (#6338) (917e71a)
  • StageInstance: Ensure discoverableDisabled is not undefined (#6395) (dce8fc7)
  • Util: remove truthy check before isNaN check (#6358) (3c17939)
  • WidgetMember: Default to null and not undefined (#6399) (44bbfa5)

Features

  • CommandInteractionResolvedData: access to "raw" resolved data (#6384) (fff887b)
  • GuildManager: allow setting with_counts to false (#6407) (14aea12)
  • GuildMemberManager: add 'list' method (#6403) (2bf0970)
  • Utils: add additional formatters (#6388) (cd40292)
  • ContextMenus: right-clickybois (context menu support for ApplicationCommand and CommandInteraction) (#6176) (0266f28)
  • Threads: max autoArchiveDuration option (#6304) (394d486)

13.0.1

07 Aug 09:43
622f398
Compare
Choose a tag to compare

Bug Fixes

13.0.0

06 Aug 13:53
cfde127
Compare
Choose a tag to compare

12.5.3

02 Apr 11:59
51551f5
Compare
Choose a tag to compare

Bug Fixes

  • Voice: disconnect if voice channel not cached (#5467) (3af8179)

12.5.2

31 Mar 21:00
6e11596
Compare
Choose a tag to compare

Bug Fixes

12.5.1

25 Nov 23:28
8a7abc9
Compare
Choose a tag to compare

Bug Fixes

  • GuildTemplate: 'guild' getter (#5040) (f8b0c01)
  • MessageReaction: set MessageReaction#me in patch method (#5047) (a6b922f)
  • Voice*: filter out silent audio from video users (#5035) (5328648)

12.5.0

22 Nov 13:04
1f4b9fe
Compare
Choose a tag to compare

Bug Fixes

  • Guild: fetch member if already in the guild (#4967) (643f96c)
  • GuildMemberUpdate: cache incoming members & use partials if enabled (#4986) (2e940e6)
  • MessageReaction: add client property to typings (#5003) (042e071), closes #5002
  • MessageReaction*Action: correctly cache incoming members and users (#4969) (8b91ac5)
  • PackageLock: reinstall GitHub docgen dev dependency (#4958) (ed8b3cc)
  • Shard: don't pass event arguments to exit handler (#4957) (adf2e87)
  • User: only assign to bot initially or if info is actually present (#4990) (eaecd0e)

Features

  • Shard: shard-specific broadcastEval/fetchClientValues + shard Id util (#4991) (2a6c363)
  • Typings: add missing error codes (#5008) (7faa73a)
  • Guild: add support for guild templates (#4907) (2b2994b)
  • Message: add crosspostable property (#4903) (b8fd3f6)