Discord.js Versions Save

A powerful JavaScript library for interacting with the Discord API

@discordjs/[email protected]

6 months ago

Bug Fixes

  • Minify mainlib docs json (#9963) (4b88306)

@discordjs/[email protected]

6 months ago

Bug Fixes

  • Minify mainlib docs json (#9963) (4b88306)

Features

  • Present x-ratelimit-scope for 429s hit (#9973) (6df233d)

Typings

  • Use wrapper utilities (#9945) (4bc1dae)

14.14.1

6 months ago

Bug Fixes

  • Emoji: id set as undefined edge case (#9953) (cc07a28)
  • BaseClient: Default in objects properly (#9952) (f93abf7)

Documentation

  • Use preferred nullable syntax (?T over T | null) (#9946) (1e4ef35)

Refactor

Typings

  • Use wrapper utilities (#9945) (4bc1dae)

13.17.1

6 months ago

Bug Fixes

  • ClientPresence: Correctly set activity state on CUSTOM activity type (#9954) (f475336)

[email protected]

6 months ago

Bug Fixes

  • Import picocolors as default (#9949) (8a6045f)

Features

14.14.0

6 months ago

Bug Fixes

  • Client: Ensure destroyed connections are not ready (#9942) (b5e23ec)
  • Webhook: Do not call client.deleteWebhook in delete (#9786) (31d914e)
  • GuildManager#fetch: Inject shard id (#9921) (85753a9)
  • Prevent 'undefined' debug message on intentional shard closure (#9846) (0e0b85b)
  • Role: Calculate position correctly when rawPositions are equal (#9871) (0529b2a)
  • GuildScheduledEvent: Use if...else pattern and handle partials (#9802) (32d614c)

Documentation

  • Message: Remove duplicated word 'of' in description (#9923) (85a78f9)
  • GuildMember: Clarify display color (#9891) (e38d03f)
  • Remove duplicate APIEmoji (#9880) (8cfadb6)
  • Consolidate API types (#9881) (44a3cbf)
  • Remove FileOptions (#9855) (eaabcdf)
  • DiscordjsErrorCodes: Deprecate unused properties (#9790) (4588e07)
  • ApplicationCommandManager: Id parameter can take options (#9664) (ed14135)
  • Attachment: Add MIME types link to contentType (#9824) (85b2498)
  • Fix "its" typo (#9825) (c50809e)
  • GuildMember: Clarify timeout parameter wording (#9800) (8d97e2d)
  • create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)

Features

  • Default select menu values (#9867) (4ff3ea4)
  • Mainlib docs on new website (#9930) (da455bc)
  • cleanContent: Add slash commands and emojis (#9809) (c2349d4)
  • Emoji: Add imageURL() (#9788) (b6c762c)
  • Onboarding mode and edit method (#9647) (7671a83)
  • Support new application properties and patch endpoint (#9709) (1fe7247)
  • BaseChannel: Add isThreadOnly() (#9847) (699b232)
  • StageInstanceManager: Add guildScheduledEvent to create() (#8885) (931c3ed)
  • Support default_thread_rate_limit_per_user in channel creation (#9273) (1e5c14b)
  • Add media channels (#9662) (571aedd)
  • Support widget image URL (#9782) (b6a2441)
  • GuildAuditLogsEntry: Expose extra integrationType in relevant log types (#9796) (3109798)
  • Add support for teams update (#9805) (c66636d)
  • Presence: Expose sync_id in Activity (#9766) (485dd71)

Refactor

  • utils: Remove mergeDefault (#9938) (5b0aa92)
  • Use proper variable names in callbacks (#9840) (11f6955)
  • GuildAuditLogsEntry: Abstract reduce logic into a new function (#9845) (19ea0ba)
  • Stickers are free (no more "premium" packs) (#9791) (e02a59b)

Typings

  • Partials: Add toString() method to supported Partials (#9835) (7422d9f)
  • MessageEditOptions: Correct attachments type (#9874) (2aa3250)
  • UserContextMenuCommandInteraction: Nullify targetMember (#9844) (3c043d8)
  • Don't include dom types (#9831) (9dbc954)
  • Client: Fix isReady narrowing (#9828) (6404c01)

13.17.0

6 months ago

Bug Fixes

  • Export AttachmentFlags and RoleFlags (#9924) (efc1536)
  • Action: Conditionally add recipient (#9925) (3d5d957)
  • Action: Do not set undefined values (#9755) (65bbed8)
  • types: Fixed CachedManager constructor arguments in type (#9761) (142db0e)
  • readme: Test badge svg (#9919) (610bdaa)
  • Role: Calculate position correctly when rawPositions are equal (#9872) (56b481b)
  • ChannelUpdate: Check against unknown channels (#9698) (630b9d5)

Documentation

  • Fix AutoModerationRuleTriggerTypes link (#9530) (24ac27d)

Features

  • Client: Add guildAvailable event (#9692) (67dd30a)
  • Attachment: Add flags (#9686) (2ac8be0)
  • Role: Add flags (#9694) (a222e53)
  • StageInstanceManager: Add guildScheduledEvent to create() (#9024) (5f6a82d)
  • Support default_thread_rate_limit_per_user in channel creation (#9339) (759c0b0)
  • User avatar decorations (#9710) (cb11c56)
  • Support new username system (#9634) (f9e9843)
  • presence: Feature parity in image resolve (#9638) (85338ef)
  • Safety alerts channel and mention raid protection (#9073) (5057f04)
  • GuildAuditLogsEntry: Add missing channel property to extra (#9527) (c5a42ed)

Performance

  • Linear speed position getters (#9528) (90ca028)

Typings

  • BaseButtonComponentData: Narrow component type (#9735) (c08230e)

@discordjs/[email protected]

6 months ago

Documentation

  • stickers: Reveal link in the website (#9870) (332b624)
  • ApplicationsAPI: Fix getCurrent() options description (#9816) (23a6424)

Features

  • Client: AsyncIterator-returning method for fetching members (#9771) (fffe70a)
  • Add guild member (#9877) (c051ed9)
  • Onboarding mode and edit method (#9647) (7671a83)
  • Support new application properties and patch endpoint (#9709) (1fe7247)
  • Implement GET current application (#9797) (50106c7)

Refactor

  • Stickers are free (no more "premium" packs) (#9791) (e02a59b)

@discordjs/[email protected]

6 months ago

Bug Fixes

  • WebSocketManager: Available sessions check (#9823) (e68ab16)

Documentation

  • create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)

@discordjs/[email protected]

6 months ago

Bug Fixes

  • Forward x-audit-log-reason header (#9889) (6a63c44)

Documentation

  • create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)