Skip to content

Latest commit

 

History

History
1664 lines (1474 loc) · 214 KB

CHANGELOG.md

File metadata and controls

1664 lines (1474 loc) · 214 KB

Changelog

All notable changes to this project will be documented in this file.

14.2.0 - (2022-08-10)

Bug Fixes

  • ThreadChannel: Handle possibly null parent (#8466) (afa27b1)
  • Remove DM channels from Client#messageDeleteBulk's types (#8460) (6c6fe74)
  • Transformers: Do not transform Date objects (#8463) (0e2a095)
  • ModalSubmitInteraction: Allow deferUpdate (#8455) (0fab869)
  • Guild: Unable to fetch templates (#8420) (aac8acc)
  • MessageMentions: Infinite loop in parsedUsers getter (#8430) (b8a3136)
  • DataResolver: Make Buffer from string (#8416) (e72b986)

Documentation

  • Change registration example to use global commands (#8454) (64a4041)
  • Colors: Provide enum descriptions (#8437) (6ef4754)
  • AttachmentBuilder: Fix #8407 (#8421) (5b053cf)

Features

  • Guild: Add max_video_channel_users (#8423) (3a96ce7)

Typings

  • Message: Correct bulkDelete return type (#8465) (c5b96a1)
  • Fix missing types for mentionable options (#8443) (452e94f)
  • ApplicationCommandOption: Add ApplicationCommandBooleanOption (#8434) (38275fc)

14.1.2 - (2022-07-30)

Bug Fixes

  • errors: Error codes (#8398) (480c85c)

Documentation

  • Embed: Ensure height and width are numbers (#8396) (fca3dad)

14.1.0 - (2022-07-29)

Bug Fixes

  • MessageMentions: ignoreRepliedUser option in has() (#8202) (b4e2c0c)
  • GuildChannelManager: Allow unsetting rtcRegion (#8359) (a7d49e5)
  • ThreadChannel: Omit webhook fetching (#8351) (3839958)
  • GuildAuditLogsEntry: Replace OverwriteType with AuditLogOptionsType (#8345) (58c1b51)
  • ShardClientUtil#_respond: Construct global error (#8348) (8e520f9)
  • Presence: Do not return NaN for activity timestamp (#8340) (df42fdf)
  • Client: Omit private properties from toJSON (#8337) (830c670)
  • ApplicationCommandManager: Allow passing 0n to defaultMemberPermissions (#8311) (1fb7b30)

Documentation

  • InteractionResponses: Add showModal() return type (#8376) (0b61dbf)
  • WebhookClient: Document working options (#8375) (ba6797e)
  • Message: Document gateway intent for content (#8364) (2130aae)
  • Use info blocks for requirements (#8361) (80b9738)
  • WebhookClient: Make constructor a union (#8370) (e9920a9)
  • Update docs and examples to PascalCase links (#8305) (34ba9d1)

Features

  • Add channel & message URL formatters (#8371) (a7deb8f)
  • Restore missing typeguards (#8328) (77ed407)
  • GuildMember: Add dmChannel getter (#8281) (4fc2c60)

Refactor

  • Deprecate Formatter class (#8373) (7fd9ed8)
  • PermissionOverwriteManager: Use OverwriteType (#8374) (6d24805)

Typings

  • GuildAuditLogsEntryExtraField: Use AuditLogOptionsType (#8349) (200ab91)

14.0.3 - (2022-07-18)

Bug Fixes

  • Components: Support emoji id strings (#8310) (660e212)

14.0.2 - (2022-07-18)

Bug Fixes

  • DataResolver#resolveImage: Adjust to updated resolveFile (#8308) (3a7e93d)

14.0.1 - (2022-07-17)

Info

  • 14.0.1 release bump, no new features.

14.0.0 - (2022-07-17)

Bug Fixes

  • GuildMemberManager: Allow setting own nickname (#8066) (52a9e21)
  • PermissionOverwriteManager: Mutates user (#8283) (3bf30b1)
  • GuildChannelManager: Access resolveId correctly (#8296) (3648f6d)
  • GuildChannelManager: Edit lockPermissions (#8269) (7876548)
  • SelectMenuBuilder: Properly accept SelectMenuOptionBuilders (#8174) (31d5930)
  • Remove global flag on regular expressions (#8177) (cdd9214)
  • MessagePayload: Guard against repliedUser property (#8211) (fa010b5)
  • ApplicationCommandManager: Explicitly allow passing builders to methods (#8209) (50d55bd)
  • GuildMemberRemove: Remove member's presence (#8181) (11b1739)
  • Edit() data can be partial and defaultMemberPermissions can be null (#8163) (0ffbef5)
  • WebSocketShard: Keep an error handler on connections (#8150) (c34c02a)
  • DJSError: Error code validation (#8149) (31f6582)
  • vcs: Nsfw property (#8132) (2eeaad6)
  • WebSocketManager: Correct error name (#8138) (db2b033)
  • WebSocketShard: Disconnected casing (#8117) (23e183a)
  • webhooks: Revert webhook caching (and returning Message) (#8038) (d54bf5d)
  • ApplicationCommand: Remove autocomplete check at the top level and correctly check for dmPermission (#8100) (0a44b05)
  • ApplicationCommand: Fix default member permissions assignment (#8067) (96053ba)
  • scripts: Read directory and rerun (#8065) (f527dea)
  • Select menu options to accept both rest and array (#8032) (fbe67e1)
  • CommandInteractionOptionResolver: Handle autocompletion interactions (#8058) (d8077c6)
  • scripts: Add quotes around blob arguments (#8054) (598f61b)
  • Message: Force fetching (#8047) (f2b267c)
  • Attachment: Do not destructure data (#8041) (1afae90)
  • DirectoryChannel: Type name and handle url (#8023) (86d8fbc)
  • Readd isThread type guard (#8019) (f8ed71b)
  • Add static method from in builders (#7990) (ad36c0b)
  • Typings (#7965) (7a1095b)
  • GuildAuditLogs: Cache guild scheduled events (#7951) (2f03f9a)
  • Make sure action row builders create djs builders (#7945) (adf461b)
  • TextBasedChannel#bulkDelete: Return deleted message (#7943) (191510b)
  • Remove trailing invites on channel deletion (#7932) (5e9b757)
  • DataResolver: Fix check for readable streams (#7928) (28172ca)
  • AuditLog: Default changes to empty array (#7880) (19eaed6)
  • Util: Flatten ignoring certain fields (#7773) (df64d3e)
  • Possibly missing (#7829) (6239d83)
  • endReason not being properly set in base Collector (#7833) (0c18dab)
  • SelectMenuBuilder: Options array (#7826) (3617093)
  • Activity: Platform type (#7805) (4ac91c6)
  • ApplicationCommand: Equal nameLocalizations and descriptionLocalizations (#7802) (4972bd8)
  • InteractionResponses: Use optional chaining on nullable property (#7812) (c5fb548)
  • MessageManager: Allow caching option of an unspecified limit (#7763) (1b2d8de)
  • builders: Add constructor default param (#7788) (c286650)
  • MessagePayload: ResolveBody check body instead of data (#7738) (3db20ab)
  • ActionRow: ToJSON should include components (#7739) (ebb4dfa)
  • Prevent NaN for nullable timestamps (#7750) (8625d81)
  • InteractionCreateAction: Ensure text-based channel for caching messages (#7755) (25fdb38)
  • Pass force correctly (#7721) (402514f)
  • Support reason in setRTCRegion helpers (#7723) (905a6a1)
  • GuildMemberManager: Return type can be null (#7680) (74bf7d5)
  • gateway: Use version 10 (#7689) (8880de0)
  • Audit log static reference (#7703) (85e531f)
  • Handle possibly missing property (#7641) (0c32332)
  • util: Allow escapeInlineCode to escape double backtics (#7638) (d5369a5)
  • GuildEditData: Some fields can be null (#7632) (4d2b559)
  • TOKEN_INVALID error not thrown at login with invalid token (#7630) (cd79bef)
  • GuildScheduledEvent: Handle missing image (#7625) (c684ac5)
  • guild: Throw if ownerId falsey (#7575) (98177aa)
  • Remove Modal export (#7654) (87a6b84)
  • Embed: Fix incorrect destructuring import (#7615) (cbdb408)
  • ThreadMembersUpdate: Only emit added & removed thread members (#7539) (c12d61a)
  • Util: EscapeInlineCode properly (#7587) (851f380)
  • GuildStickerManager: Correctly access guild ID (#7605) (4b08d9b)
  • MessageManager: Pin route (#7610) (cb566c8)
  • Handle partial data for Typing#user (#7542) (c6cb5e9)
  • guild: Fix typo accessing user instead of users (#7537) (8203c5d)
  • test: MessageActionRow to ActionRow (#7523) (d1d1b07)
  • MessagePayload: Don't set reply flags to target flags (#7514) (4f30652)
  • invite: Add back channelId property (#7501) (78aa36f)
  • Properly serialize undefined values (#7497) (8dbd345)
  • Allow unsafe embeds to be serialized (#7494) (942ea1a)
  • Attachment types (#7478) (395a68f)
  • Use case converter for json component serialization (#7464) (2d45544)
  • GuildAuditLogs: Typings and consistency (#7445) (c1b27f8)
  • dataresolver: Ensure fetched file is convert to a buffer (#7457) (9311fa7)
  • messagepayload: ResolveFile property names (#7458) (a8106f7)
  • ci: Ci error (#7454) (0af9bc8)
  • threads: Require being sendable to be unarchivable (#7406) (861f0e2)
  • guildmember: Check if member has administrator permission (#7384) (81d8b54)
  • guild: Remove maximumPresences default value (#7440) (55b388a)
  • guildchannelmanager: Edit always sets parent to null (#7446) (b97aedd)
  • guildmember: Make pending nullable (#7401) (fe11ff5)
  • clientpresence: Fix used opcodes (#7415) (a921ec7)
  • Correctly export UnsafeSelectMenuComponent from builders (#7421) (aadfbda)
  • MessageReaction.me being false when it shouldn't (#7378) (04502ce)
  • Fix some typos (#7393) (92a04f4)
  • messagementions: Fix has method (#7292) (3a5ab2c)
  • guildmembermanager: Use rest in edit (#7356) (00ce1c5)
  • typings: Mark RESTOptions as Partial in ClientOptions (#7349) (e1ecc1a)
  • Webhook: Use correct method name (#7348) (11e5e5a)
  • thread: Don't assign directly to getters (#7346) (2db0cdd)
  • Missed enums and typings from #7290 (#7331) (47633f0)
  • guildchannelmanager: Remove reverse enum lookup (#7304) (857bba4)
  • Import clear{Timeout,Interval} from node:timers (#7269) (8ddd44e)
  • ApplicationCommand: Use new ApplicationCommandOptionType enums (#7257) (06f5210)
  • Use enums from discord-api-types (#7258) (f284a46)
  • exports: Export ApplicationCommandType properly (#7256) (f753882)
  • Shard: EventEmitter listener warning (#7240) (ff3a8b8)
  • timestamps: Account for timestamps of 0 when creating Dates (#7226) (a8509c9)
  • MessageEmbed: CreatedAt field can be zero (#7218) (37cad54)
  • BaseClient: Do not append default options if provided is not an object (#6453) (b92a7d7)
  • Snowflakeutil import (#7219) (962f4bf)
  • Role: Remove unused process (#7215) (63034b4)
  • WebhookClient: Updated webhook url regex (#6804) (1c615d1)
  • Sweepers: Add sweepStickers function (#7213) (95f8375)
  • InteractionCreate: Use ChatInputCommandInteraction instead (#7210) (49dada3)
  • Structues: Rename old module's name (#7207) (fbef454)
  • WebSocket: Remove application command handler (#7202) (033151c)
  • User: bannerURL() should not throw when not present (#6789) (3872acf)
  • VoiceState: Ensure suppress & streaming have proper fallback values (#6377) (a0d5f13)
  • sweepers: Provide default for object param (#7182) (ae2f013)

Deprecation

  • Caching: Clean up deprecated cache sweeping (#7118) (12ffa06)

Documentation

  • Align webhook method return types with implementation (#8253) (5aeed99)
  • Remove @private constructor documentation (#8255) (452dec5)
  • ApplicationCommand: Add min_length and max_length to ApplicationCommandOptionData (#8239) (43f62bb)
  • MessageInteraction#commandName: Updated description (#8212) (ab238a9)
  • Add missing @extends (#8205) (e0c8282)
  • Constants: Fix SweeperKeys type (#8157) (af04992)
  • Channels: Internally document channel creation (#8154) (5e5853a)
  • Update threads to use ThreadAutoArchiveDuration (#8153) (ee36d60)
  • APITypes: Remove duplicate type definition (#8144) (a061233)
  • Document missing type definitions (#8130) (203bc4a)
  • InteractionResponse: Fix return (#8141) (f1ac17c)
  • PermissionsBitField: Fix @name of bitfield (#8115) (3a77ce0)
  • TextBasedChannel -> TextBasedChannels typos (#8110) (db663a5)
  • Remove numbers from enums (#8098) (0a138da)
  • GuildAuditLogs: Fix and reimplement type definitions (#8108) (4155136)
  • WebSocketOptions: Add version to docs and typings (#8050) (386c41f)
  • BaseGuildTextChannel: Update setType()'s parameter type (#8088) (9c0f190)
  • Update outdated examples (#8081) (51eadf3)
  • ThreadMemberManager: Require member in FetchThreadMemberOptions (#8079) (552ec72)
  • AutocompleteInteraction: Change useless log in responds example (#8077) (ac7bf69)
  • Description and missing @typedef fixes (#8087) (a2eebf6)
  • Ignore docs of unexported functions (#8051) (94bdcac)
  • ClientOptions: Fix closeTimeout default (#8049) (b2eea1c)
  • DirectoryChannel: Extend Channel (#8022) (f3f34f0)
  • Attachment: Remove constructor doc (#8009) (0a7953e)
  • VoiceChannel: Annotate that it is implementing TextBasedChannel (#8007) (5987dbe)
  • Add missing discord-api-types external types (#8001) (546d486)
  • InteractionResponses: Replace outdated Embed example for reply (#7875) (d308c66)
  • Require parameter (#7838) (f4ccc67)
  • ApplicationCommand: Fix and improve localization docs (#7804) (61a44c5)
  • ApplicationCommand: Fix ApplicationCommandOptionChoice (#7794) (f1d0084)
  • Add back static properties and methods (#7706) (520f471)
  • InteractionCollector: Document channel option type (#7551) (e787cd5)
  • Correctly type getters (#7500) (ffecf08)
  • ApplicationCommandData typedef (#7389) (d32db88)
  • channel: Fix isDMBased docs (#7411) (f2a7a9f)
  • messageattachment: Fix contentType docs (#7413) (2800e07)
  • Add supported option types for autocomplete (#7368) (8bb3751)
  • Add external builder docs links (#7390) (0b866c9)
  • Add EnumResolvers (#7353) (72767a1)
  • locales: Update Discord API docs link (#7266) (b640272)
  • StageInstance: Deprecate discoverableDisabled (#7179) (bd33ebb)
  • shardingmanager: Fix type of execArgv option (#7284) (e65da44)
  • interaction: Add locale list link (#7261) (37ec0bd)
  • Fix a typo and use milliseconds instead of ms (#7251) (0dd56af)
  • Fix command interaction docs (#7212) (137ea24)
  • TextBasedChannel: Fixed syntax error in examples (#7163) (b454740)
  • TextBasedChannel: Fix #createMessageComponentCollector description (#7168) (d4e6e03)
  • Fixes the examples for kick and ban (#7170) (db669b8)
  • RoleManager: Fix incorrect example (#7174) (f79ea67)

Features

  • builder: Add max min length in string option (#8214) (96c8d21)
  • applicationCommand: Add max min length in string option (#8215) (94ee60d)
  • Add website documentation early mvp (#8183) (d95197c)
  • BaseInteraction: Add support for app_permissions (#8194) (002d6a5)
  • util: ParseWebhookURL (#8166) (c4653f9)
  • AutocompleteInteraction: Add commandGuildId (#8086) (10a6c42)
  • guild: Add support for setting MFA level (#8024) (c5176be)
  • vcs: Add missing property and methods (#8002) (0415300)
  • docgen: Update typedoc (b3346f4)
  • Website (#8043) (127931d)
  • Docgen package (#8029) (8b979c0)
  • Backport handle zombie connection (#7626) (e1176fa)
  • CommandInteraction: Add 'commandGuildId' (#8018) (aa59a40)
  • Allow builders to accept rest params and arrays (#7874) (ad75be9)
  • MessageReaction: Add react method (#7810) (a328778)
  • Collector: Add ignore event (#7644) (5244fe3)
  • GuildMemberManager: Add GuildMemberManager#fetchMe() (#7526) (349766d)
  • guildChannelManager: Add videoQualityMode option for create() (#7980) (cdd2ba0)
  • EnumResolvers: Remove Enumresolvers (#7876) (76694c1)
  • Move me to GuildMemberManager manager (#7669) (aed687b)
  • rest: Use undici (#7747) (d1ec8c3)
  • VoiceChannel: Add support for text in voice (#6921) (4ba0f56)
  • SelectMenu: Allow emojis in options and option constructors (#7797) (f22245e)
  • Allow createMessageComponentCollector without using fetchReply (#7623) (a58556a)
  • Add guild directory support (#6788) (b01f414)
  • GuildBanManager: Support pagination results (#7734) (fc2a8bb)
  • CommandInteraction: Add support for localized slash commands (#7684) (01a423d)
  • Allow emoji strings to be passed through constructors (#7718) (0faac04)
  • StageInstanceManager: Add sendStartNotification option to create (#7730) (29f8807)
  • Add makeURLSearchParams utility function (#7744) (8eaec11)
  • modal: Add awaitModalSubmit (#7751) (3037fca)
  • Actions: Add parent structure to events parameters (#7577) (3f3e432)
  • Export UnsafeModalBuilder and UnsafeTextInputBuilder (#7628) (6fec252)
  • VoiceChannel: Support video_quality_mode (#7722) (3b3dabf)
  • Add API v10 support (#7477) (72577c4)
  • embed: Remove Embed.setColor (#7662) (9b0d8cb)
  • StageInstance: Add support for associated guild event (#7576) (3dff31f)
  • VoiceState: Add edit method (#7569) (b162f27)
  • ModalSubmitInteraction: Add boolean properties (#7596) (8907390)
  • Add Modals and Text Inputs (#7023) (ed92015)
  • discord.js: Partial transition to undici (#7482) (5158332)
  • message: Add reason on pin and unpin (#7520) (00728f7)
  • Re-export AuditLogEvent enum (#7528) (6a2fa70)
  • options: Add support for custom JSON transformers (#7476) (dee27db)
  • Add CategoryChannelChildManager (#7320) (5cf5071)
  • Attachment application command option type (#7200) (0034396)
  • builders: Add attachment command option type (#7203) (ae0f35f)
  • scheduledevents: Add image option (#7436) (fbc71ef)
  • Add methods to managers (#7300) (dd751ae)
  • channel: Add .url getter (#7402) (f59d630)
  • components: Add unsafe message component builders (#7387) (6b6222b)
  • thread: Add newlyCreated to threadCreate event (#7386) (51beda5)
  • channel: Add isDMBased typeguard (#7362) (388f535)
  • Interaction: Add .commandType property to CommandInteraction and AutocompleteInteraction (#7357) (567db60)
  • scheduledevent: Add support for event cover images (#7337) (355f579)
  • enumResolvers: Strengthen typings (#7344) (9a566e8)
  • Allow setting message flags when sending (#7312) (706db92)
  • minor: Add application_id to Webhook (#7317) (5ccdb0a)
  • threadchannel: Add createdTimestamp field (#7306) (9a16234)
  • GuildPreview: Add stickers (#7152) (cf25de9)
  • Enum resolvers & internal enum string removal (#7290) (213acd7)
  • guildemojimanager: Add delete and edit methods (#7286) (9181a31)
  • interaction: Add isRepliable type guard (#7259) (da05a88)
  • Channel: Improve typeguards (#6957) (37a22e0)
  • Add Locales to Interactions (#7131) (9052e32)
  • Permissions: Remove deprecated thread-related permissions (#6755) (ab3ff5a)
  • VoiceRegion: Remove the unsent vip field (#6759) (caaef53)
  • richpresenceassets: Add YouTube and custom image support (#7184) (d06d70c)
  • Collector: Yield all collected values (#7073) (2b480cb)

Refactor

  • Util: Rename fetchRecommendedShards (#8298) (cafde77)
  • Embed: Add all the types (#8254) (64f8140)
  • rest: Add content-type(s) to uploads (#8290) (103a358)
  • Make GuildAuditLogsEntry.action return an AuditLogEvent (#8256) (f0b68d5)
  • builder: Remove unsafe*Builders (#8074) (a4d1862)
  • Make ShardEvents the events of Shard (#8185) (c5750d5)
  • Util: Make single replace call in cleanContent (#8210) (6b20645)
  • ApplicationCommandManager: Use makeURLSearchParams (#8196) (cb3dca4)
  • Use Base prefix for channel and interaction base classes (#8099) (e24970e)
  • Constants: Remove leftover code (#8156) (cd17aad)
  • Errors (#8068) (e68effa)
  • ClientOptions: Remove $ prefix from ws.properties keys (#8094) (90a98fe)
  • Use GuildFeature enum (#8101) (e5ec1c4)
  • util: Make utility functions top level (#8052) (e53d162)
  • ApplicationCommand: Permissions v2 (#7857) (c7391db)
  • *: Include name/reason/etc fields into options/data params (#8026) (9c8b310)
  • ThreadMemberManager: Consistent thread member fetching (#8021) (da9107c)
  • interactions: Remove redundant interaction typeguards (#8027) (f57d676)
  • Move all the config files to root (#8033) (769ea0b)
  • channel: Remove redundant channel type guards (#8012) (70c733b)
  • Always return Message instances in interactions (#7917) (9720e55)
  • attachment: Don't return attachment builders from API (#7852) (dfadcbc)
  • Clean up modal submissions (#7994) (643dab3)
  • ThreadChannel: Remove MAX helper from threads (#7846) (dfd9eb2)
  • Activity: Remove undocumented properties (#7844) (5ba7740)
  • MessageAttachment: Use Attachment instead (#7691) (ab4c608)
  • Util: Remove splitting (#7780) (54e5629)
  • Tidy up builders and components (#7711) (96a0d83)
  • Remove nickname parsing (#7736) (78a3afc)
  • Remove store channels (#7634) (aedddb8)
  • IntegrationApplication: Remove summary (#7729) (eb6b472)
  • GuildAuditLogs: Remove build (#7704) (cedd053)
  • InteractionCollector: Simplify constructor logic (#7667) (07b23a9)
  • Remove undocumented checks (#7637) (9a6e691)
  • Allow builders to accept emoji strings (#7616) (fb9a9c2)
  • Use static fields (#7701) (e805777)
  • EmbedBuilder: Allow hex strings in setColor (#7673) (f472975)
  • Don't return builders from API data (#7584) (549716e)
  • embed: Allow hex strings in setColor() (#7593) (79d6c04)
  • InteractionResponses: Use ClientOptions.jsonTransformer (#7599) (fac55bc)
  • Deprecate invite stage instance (#7437) (d2bc9d4)
  • guild: Move premiumSubscriptionCount to AnonymousGuild (#7451) (6d3da22)
  • actions: Use optional chaining (#7460) (d1bb362)
  • guildbanmanager: Rename days option to deleteMessageDays (#7447) (0dfdb2c)
  • Make public builder props getters (#7422) (e8252ed)
  • Remove redundant API defaults (#7449) (532846b)
  • Allow discord.js builders to accept camelCase (#7424) (94bf727)
  • Replace WSCodes, WSEvents, and InviteScopes with discord-api-types equivalent (#7409) (cc25455)
  • Make constants enums top level and PascalCase (#7379) (d8184f9)
  • Bitfield: Use discord-api-types enums instead (#7313) (fbb1d03)
  • Use @discordjs/rest (#7298) (ec0fba1)
  • Switch to /builders Embed (#7067) (d2d3a80)
  • Remove transformPermissions (#7303) (b4ed8fd)
  • Remove VoiceChannel#editable (#7291) (164589c)
  • Remove boolean option for Webhook#fetchMessage (#7293) (347ff80)
  • subcommandgroup: Required default to false (#7217) (6112767)
  • invite: Make channel and inviter getters (#7278) (18b0ed4)
  • Remove required from getMember (#7188) (c90e47f)
  • Remove djs components and use /builders components instead (#7252) (101d7c5)
  • Default *URL methods to animated hash (#7149) (7c07976)
  • Use setPosition inside edit (#7263) (0b23b7f)
  • Don't disable import order lint (#7262) (0a5d5f3)
  • Remove discord.js enums and use discord-api-types enums instead (#7077) (aa6d1c7)
  • application: Remove fetchAssets (#7250) (1479e40)
  • PresenceUpdate and demuxProbe (#7248) (1745973)
  • embeds: Don't create new embed instances when unnecessary (#7227) (822dc67)
  • GuildMember: Throw better errors on #kickable and #bannable (#7137) (4fd127e)
  • SnowflakeUtil: Switch to @sapphire/snowflake (#7079) (e082dfb)
  • InteractionCreate: Remove interaction event (#6326) (ae876d9)
  • MessageCreate: Remove message event (#6324) (171e917)
  • integration: Turn undefined into null and consistency (#7209) (13eb782)
  • Remove deleted field (#7092) (cee7fd1)
  • Dates: Save timestamps everywhere and use Date.parse (#7108) (55e21f5)
  • RoleManager: Remove comparePositions() (#7201) (fbbac27)
  • Better Command Terminology (#7197) (b7856e7)
  • Actions: Remove deleted maps (#7076) (5022b14)
  • Client: Remove applicationCommand events (#6492) (6085b4f)
  • Remove Util.removeMentions() (#6530) (0c24cc8)
  • Constants: Change APPLICATION_COMMAND -> CHAT_INPUT_COMMAND (#7018) (75616a3)
  • Guild: Remove deprecated setXPositions methods (#6897) (43e5e3c)
  • UserFlags: Update flag names (#6938) (b246fc4)

Styling

  • Cleanup tests and tsup configs (6b8ef20)

Typings

  • GuildFeature: Allow feature strings to be passed (#8264) (b7d4e55)
  • CategoryChannelChildManager: Fix Holds type (#8288) (33a7a5c)
  • Remove MemberMention (#8292) (bf65b37)
  • GuildMemberManager: Fix placement for fetchMe() (#8258) (7525615)
  • Convert Events to an enum (#8246) (feb3bdd)
  • GuildMemberManager: Non-void return of edit() (#8186) (c7a205f)
  • Add missing shard types (#8180) (27d8deb)
  • Implement GuildChannelEditOptions (#8184) (b83e0c0)
  • Status: Add missing members (#8179) (8421f92)
  • GuildScheduledEvent#scheduledStartAt: Should be nullish (#8111) (65dc8d6)
  • Fix modal builder constructor data type (#8143) (7279f9c)
  • Use ThreadAutoArchiveDuration from discord-api-types (#8145) (a3799f9)
  • Shard#reconnecting: Fix event name (#8118) (95e6d6e)
  • ApplicationCommand: Fix typo in setDMPermission (#8097) (4df491c)
  • Fix setType() parameter and ChannelData.type (#8089) (b4e28a8)
  • Fix ApplicationCommandPermissionsUpdate event typings (#8071) (9964454)
  • AutocompleteOption: Fix and improve types (#8069) (476b7d5)
  • ThreadMemberManager: Fix return type of fetching members with no arguments (#8060) (2392a6f)
  • Remove isAutocomplete typeguard from typings (#8063) (c0f079d)
  • AttachmentBuilder: Fix data type (#8016) (7fa698d)
  • modal: Fix showModal() typings (#8014) (0ccc243)
  • Fix some attachment related typings (#8013) (6aa6232)
  • AttachmentBuilder: Remove name parameter from constructor (#8008) (6266b0c)
  • Add types to EventEmitter static methods (#7986) (d60c464)
  • Nullify guildScheduledEventUpdate's old parameter (#7955) (fdeac9d)
  • Make CacheType generic more accurate for return values (#7868) (e07b910)
  • guildScheduledEvent: Mark entityMetadata as nullable (#7908) (64bdf53)
  • discord.js: Export missing enums (#7864) (5eeef3f)
  • Fix return type of toString() on channels (#7836) (ece6289)
  • Message#activity: Make partyId optional and use enum for type (#7845) (bfeaf85)
  • Cleanup *Data type definitions (#7716) (585169f)
  • Fix BooleanCache never resolving to true (#7809) (440ac24)
  • CommandInteraction: Add awaitModalSubmit (#7811) (a6d9ce5)
  • ThreadChannel: Fix autoArchiveDuration types (#7816) (0857476)
  • Add missing typing (#7781) (f094e33)
  • VoiceChannel: Nullify property (#7793) (446eb39)
  • ModalSubmitInteraction: Message (#7705) (b577bcc)
  • Embed: Add missing getters and add video to EmbedData (#7728) (fd1dc72)
  • ModalSubmitInteraction: Fix components type (#7732) (6f4e97b)
  • interactionCollector: Filter should have a collected argument (#7753) (e4f2705)
  • Fix regressions (#7649) (5748dbe)
  • Constants: Add NonSystemMessageTypes (#7678) (9afc030)
  • Fix auto archive duration type (#7688) (8e3b2d7)
  • InteractionResponseFields: Add webhook (#7597) (daf2829)
  • Embed: Add forgotten footer type (#7665) (8fb9816)
  • ColorResolvable: Simplify string types (#7643) (2297c2b)
  • Allow component classes in action row data (#7614) (230c0c4)
  • ActionRow: Allow components to be passed to constructors (#7531) (e71c76c)
  • showModal: Align types with the documentation (#7600) (0d7e4ed)
  • Modals type and doc fixes (#7608) (93854a8)
  • InteractionResponseFields: Add boolean properties (#7565) (53defb8)
  • Allow raw components for reply and message options (#7573) (2d4971b)
  • Fix component *Data types (#7536) (a8321d8)
  • Use discord-api-types Locale (#7541) (8346003)
  • anychannel: Add PartialGroupDMChannel (#7472) (cf66930)
  • Remove ApplicationCommandInteractionOptionResolver (#7491) (71f4fa8)
  • embed: Fix timestamp allowed types (#7470) (7959a68)
  • Remove duplicate rate limit for thread creation (#7465) (2d2de1d)
  • Correct types for InteractionCollector guild and channel (#7452) (6ce906a)
  • Fix GuildAuditLogsTypes keys & typos (#7423) (3d8c776)
  • Remove duplicate GuildChannelOverwriteOptions interface (#7428) (83458ff)
  • Use GuildFeature enum from discord-api-types (#7397) (a7b80b9)
  • Fix *BitField.Flags properties (#7363) (e6a26d2)
  • Fix MessageMentions channel types (#7316) (c05b388)
  • Fix channel create overloads (#7294) (1c6c944)
  • Fix regressions and inconsistencies (#7260) (26a9dc3)
  • interaction: Remove renamed typeguards (#7220) (68b9564)
  • AssertType -> expectType (3f36746)
  • Fix cache types resolving to never (#7164) (c978dbb)

13.10.1 - (2022-08-10)

Bug Fixes

  • ThreadChannel: Handle possibly null parent (v13) (#8467) (2a46d9f)

13.10.0 - (2022-08-08)

Features

  • Guild: Add max_video_channel_users (v13) (#8424) (ae43bca)

13.9.2 - (2022-07-29)

Bug Fixes

  • MessageMentions: ignoreRepliedUser option in has() (v13) (#8365) (d0a4199)
  • GuildChannelManager: Allow unsetting rtcRegion (v13) (#8362) (9612507)
  • ThreadChannel: Omit webhook fetching (v13) (#8352) (4f7c1e3)

13.9.1 - (2022-07-23)

Bug Fixes

  • ApplicationCommandManager: Allow passing 0n to defaultMemberPermissions (v13) (#8312) (4cf0555)

Refactor

  • embed: Deprecate addField (#8318) (be35db2)
  • Presence: Remove redundant date parsing (v13) (#8341) (e95caa7)

13.9.0 - (2022-07-17)

Bug Fixes

  • PermissionOverwriteManager: Mutates user (#8282) (4d86cf4)
  • GuildChannelManager: Access resolveId correctly (v13) (#8297) (beb3d8e)
  • GuildChannelManager: Edit lockPermissions (#8267) (8fe166d)
  • applicationcommandmanager: Explicitly allow passing builders to methods (v13) (#8229) (f457cdd)
  • Pass in the expected query object type for application commands (#8189) (f704b26)
  • Use non-global flag whilst resolving regular expressions (#8178) (4063b90)
  • GuildStickerManager.fetchUser: Changed guildId to guild.id (#8176) (0e0f784)
  • guildmemberremove: Remove member's presence for v13 (#8182) (e8d72c7)
  • WebSocketShard: Backport error handler preservation on connections (#8164) (c198e89)

Documentation

  • Add new HTTP Error Codes 50068 (v13) (#8273) (00a7057)
  • Add MessageActivityType (v13) (#8257) (9cc336c)
  • MessageInteraction: Update commandName description (v13) (#8220) (feb8e30)
  • constants: Document missing constants (#8168) (4ae08ad)

Features

  • ApplicationCommand: Add min_length and max_length for string option (v13) (#8217) (a93f4b1)
  • interaction: Add appPermissions (v13) (#8195) (222fc9c)
  • Partially backport perms v2 for v13 (#8162) (125696f)

Typings

  • GuildMemberManager: Non-void return of edit() (v13) (#8187) (631abee)
  • Add missing shard types (v13) (#8192) (079973f)

13.8.1 - (2022-06-23)

Bug Fixes

  • VoiceChannel: NSFW property (v13) (#8161) (c61fc80)
  • ModalSubmitInteraction: Add isFromMessage() missing method (#8092) (0ab2227)
  • Destroy options during cleanup (#8082) (afb18b9)
  • AuditLog: Default changes to empty array (#8076) (3095f35)

Documentation

  • TextBasedChannel-> TextBasedChannels typos (v13) (#8155) (65444f5)

Refactor

  • Deprecate $ prefix from ws.properties keys (#8095) (3638b40)

Typings

  • Shard#reconnecting: Backport to v13 - Fix event name (#8126) (70450f6)
  • AutocompleteOption: Backport fix and improve types (#8078) (613fd43)
  • GuildChannel: Fix type of .isText() method (#8061) (0d0190a)

13.8.0 - (2022-06-05)

Bug Fixes

  • guildchannelmanager: Wrong parameter in _sortedChannels call (#8011) (876816a)
  • websocketshard: Deal with zombie connection caused by 4009 (#7581) (114bcc0)
  • Video quality mode data property (#7946) (76df9fd)
  • ApplicationCommandOptionType: Add attachment to jsdoc (#7952) (a51420f)

Features

  • Backport text-in-voice support to v13 (#7999) (ddfe15b)

13.7.0 - (2022-05-13)

Bug Fixes

  • MessageEmbed: Fix a typo (#7906) (ea28638)
  • GuildEditData: Some fields can be null for v13 (#7633) (816936e)
  • Apply v14 fix (#7756) (ab6c2ba)
  • GuildChannelManager: delete method accessing wrong id (#7771) (c9e4562)
  • GuildScheduledEvent: Handle missing image for v13 (#7627) (dfea9c2)
  • messagementions: Fix has method for v13 (#7591) (7a52785)
  • Check if member has admininistrator on moderatable (v13) (#7578) (13dd82d)
  • ThreadChannel: Require sendable for unarchivable (#7555) (49397c0)
  • Backport MessageReaction#me being incorrectly false (#7553) (5f621c1)
  • typings: SweepStageInstances typo (#7521) (f096069)
  • MessagePayload: V13 don't set reply flags to target flags (#7515) (30baff7)
  • Shard: V13 EventEmitter listener warning (#7479) (77b8e01)
  • MessageEmbed: Set footer to undefined (#7358) (bc5ddc3)

Documentation

  • shardingmanager: Fix type of execArgv option (v13) (#7863) (43a7870)
  • Fix and improve localization docs (v13 backport) (#7807) (6dcf0bd)
  • ApplicationCommand: Fix ApplicationCommandOptionChoice (#7798) (1040ce0)
  • Backport version 13 fixes (#7552) (69ba067)

Features

  • Backport (#7776) (5165b18)
  • Backport (#7787) (3eb45e3)
  • Backport (#7786) (ab324ea)
  • Add support for localized slash commands (v13 backport) (#7766) (022e138)
  • App authorization links and tags for v13 (#7731) (9e4a900)
  • Backport (#7777) (6c56132)
  • Backport (#7778) (ff49b82)
  • Backport (#7779) (ae7f991)
  • Backport (#7783) (cedc333)
  • VoiceChannel: Support video_quality_mode (v13) (#7785) (6daee1b)
  • StageInstance: Add support for associated guild event (#7713) (68498a8)
  • modals: Modals, input text components and modal submits, v13 style (#7431) (e1cdcfa)
  • Backport Interaction#isRepliable (#7563) (5e8162a)
  • Add methods to managers for v13 (#7611) (9f09702)
  • Add premiumSubscriptionCount to InviteGuild (#7629) (8e7d15e)
  • scheduledevents: Event cover images for v13 (#7613) (a7535a2)
  • Backport MessageMentions channel type fixes (#7562) (93cdb2f)
  • Backport cache types resolving to never (#7561) (611d3a7)
  • Backport sending message flags (#7560) (29d42ed)
  • ThreadChannel: Backport creation timestamp (#7559) (1d97dcf)
  • Add custom image support to version 13 (#7557) (679b87c)
  • Backport reason on pin and unpin (#7556) (b231bec)
  • GuildPreview: Add stickers to version 13 (#7554) (215dfe0)
  • Backport sweepStickers method (#7558) (ee1698d)
  • scheduledevents: Add image option (v13) (#7549) (2fcf8af)
  • thread: V13 add newlyCreated to threadCreate event (#7481) (2b3db73)
  • commands: Attachment options (#7441) (5bcca8b)

Refactor

  • Deprecate v13 properties and methods (#7782) (b9802f4)
  • Remove non-breaking stuff (#7636) (b9c5676)

Typings

  • Fix ModalSubmitInteraction (#7768) (1d09ad4)
  • threadchannel: Fix autoArchiveDuration types (#7817) (7afcd95)
  • InteractionCollector: Fix guild and channel types (#7624) (7814074)
  • V13 channel create overloads fix (#7480) (0b54089)

13.6.0 - (2022-01-13)

Documentation

  • interaction: Add locale list link (#7261) (1f4e633)

Features

  • Add Locales to Interactions (#7131) (233084a)

13.5.1 - (2022-01-07)

Bug Fixes

  • sweepers: Provide default for object param (#7182) (2dabd82)

Documentation

  • Sweepers: Fix typo (#7165) (780b7ed)

13.5.0 - (2021-12-29)

Bug Fixes

  • GuildMemberManager: Nick endpoint (#7151) (d0c3961)
  • Permissions: ToArray shouldn't check admin (#7144) (fc4292e)
  • Remove deprecation warning on Message#cleanContent (#7143) (7e5f16b)

Features

  • GuildMember: Add method to check timeout (#7146) (baacd6b)
  • ClientOptions: WaitGuildTimeout amount client option (#6576) (2bfc638)

Refactor

  • MessageEmbed: Deprecate strings for setAuthor() (completely) and setFooter() (#7153) (3496516)
  • Import timers, process, and Buffer from node: (#7157) (3c62bd2)

13.4.0 - (2021-12-24)

Bug Fixes

  • BaseMessageComponent: Don't create new class instances (#7140) (e6f41b5)
  • Make the followUp function error more clear (#7129) (b763dab)
  • StickerPack: Nullify bannerId (#7119) (6bb03f2)
  • Webhook typeguards should use string comparisons (#7127) (645b3f8)
  • Message: Remove usage of .deleted (#7109) (a0fe0ac)
  • GuildAuditLog: Remove Promises in constructor (#7089) (9cf44d1)
  • ShardingManager: Fix respawnAll not passing delay correctly (#7084) (de61fe4)
  • StoreChannel: Mark as deprecated (#7072) (5ec542d)
  • InteractionCollector: Handle thread (and parent) deletion (#7070) (b5cd288)
  • ReactionCollector: Check for channel.threads (#7069) (3846f0d)
  • GuildChannel: Default to this.rawPosition in clone() (#7057) (5fcda73)
  • Interaction channel type should be GuildTextBasedChannels when in guild (#6998) (da86bd4)
  • Util: Fix sorting for GuildChannels (#7002) (c07207f)
  • MessageManager: Do not use client.emojis (#7039) (fd63139)
  • ActionsManager: Revert to manual requires (#7034) (0193efa)
  • MessagePayload: Prevent spread of undefined (#7029) (fabd343)
  • MessageManager: Allow a string for edit() (#7033) (54f937d)
  • Avoid sending bot auth on token endpoints (#7022) (7efeff4)
  • Sharding: Properly handle errors in fetchClientValues (#6990) (c0ba2d4)
  • VoiceState: Set streaming to false when the stream ended (#6992) (fdb09cb)
  • MessageReaction: Cache myself when MessageReaction#me is true. (#6956) (b001e19)

Documentation

  • Deprecate .deleted getters (#7107) (d43f684)
  • Sticker: Fix typo (#7085) (ee91f5a)
  • Constants: Document missing errors (#7086) (6e57b65)
  • Constants: Adjust GUILD_STORE warning placement (#7083) (23513d1)
  • StoreChannel: Add deprecation warnings (#7080) (fdba146)
  • GuildStickerManager: Fix create() example (#7060) (6f58e81)
  • Invite: Add info blocks for missing props (#7014) (b183a8e)
  • MessageReference: Fix static link (#7041) (85e6812)
  • Constants: Fix typo "announcement" (#7016) (a1a8ca4)
  • README: Add installation instruction on @discordjs/voice (#6964) (3c857a6)
  • Guild: Fix setOwner() example (#6929) (dc64541)

Features

  • Add support for GuildScheduledEvent (#6493) (1316fd4)
  • GuildMember: Add timeouts (#7104) (aa7c1b2)
  • Export Sweepers (#7117) (b9b60a3)
  • Add API error code 50109 (#7112) (55960cc)
  • Client: Add global sweepers (#6825) (d1ef2f5)
  • Add API error code 20029 (#7078) (f410536)
  • ApplicationCommand: Add setX methods for easier editing (#7063) (7f980e3)
  • Add API error code 50055 (#7068) (f028aea)
  • SnowflakeUtil: Add timestampFrom (#7058) (8b200c0)
  • Guild: Add premiumProgressbarEnabled (#6887) (552d89f)
  • Add UserContextMenuInteraction and MessageContextMenuInteraction (#7003) (4fe063f)
  • Shard: Add eval context (#7011) (77aff08)
  • ThreadChannel: Add ThreadChannel#viewable (#6975) (db09d79)
  • ThreadManager: Add slowmode option on thread creation (#6989) (493e4f9)
  • MessageAttachment: Description (alt text) support (#6871) (5e0a7d5)
  • ApplicationCommand: Add support for min and max values (#6855) (c30a818)
  • SystemChannelFlags: Add new flag (#6870) (49e3ce2)
  • UserFlags: Add BOT_HTTP_INTERACTIONS (#6733) (f43140a)
  • Add new activity flags (#6699) (47d74eb)
  • ApplicationFlags: Add message content intent flags (#6888) (e94073a)

Refactor

  • UserManager: Move methods to the manager (#7087) (2ed02f7)
  • RoleManager: Move some methods over from Role (#7096) (1e00fc2)
  • Guild: Remove duplicate methods (#7100) (717e0e9)
  • Util: Replace Util.delayFor with tp.setTimeout (#7082) (25b8491)
  • Make Structure#deleted a getter to a WeakSet (#7074) (b093750)
  • SnowflakeUtil: Clean up utils and improve perf (#7036) (e59fac3)
  • MessageEmbed: Utilise an object approach for .setAuthor() (#6966) (73854ee)
  • Deprecate application command events (#6937) (28688e2)

Typings

  • CategoryChannel: Fix createChannel return type (#7138) (1626dde)
  • CategoryChannel: createChannel should default to a text channel (#7132) (a0a5b0e)
  • Make channel types a lot stricter (#7120) (7b65a04)
  • Forward cache types to collector filters (#7126) (77489b9)
  • Fix possibly null message properties (#7111) (bc6a6c5)
  • Use mapped enums instead of overloads (#7088) (49f9a18)
  • MessageComponentInteraction: Ensure component is not null (#7099) (2ce244b)
  • GuildAuditLog: Strengthen types (#7090) (5a5c045)
  • Message: guild should be non-null when message is in guild (#6933) (1230bee)
  • Improve audit logs' typings (#6647) (b6b4570)
  • Interaction: Narrow memberPermissions (#7054) (01f8d1b)
  • ApplicationCommandManager: Deprecate old *Data type usages and allow camel cased dapi types to be used (#6959) (2c91c48)
  • WebhookMessageOptions: Disallow stickers (#7012) (099536e)
  • Remove unneeded collector types (#7008) (c1f2fe2)
  • Make event emitters use mapped event types (#7019) (48555cb)
  • ApplicationSubcommandData: Allow autocomplete to be true (#6981) (ecc61f3)
  • Fix interaction typeguards (#6976) (06cd16f)
  • Strengthen autocomplete option types (#6950) (7630158)
  • Fix cache type fallback types (#6961) (9f240ea)
  • Unify ApplicationCommandManager#create overloads (#6970) (8e881d2)
  • Events: Rest events can be emitted on BaseClient (#6936) (c297829)

13.3.1 - (2021-11-01)

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)

Documentation

  • README: Use correct capitalization of npm (#6930) (bb245b7)

Typings

  • Improve toJSON methods for message components & embeds (#6925) (204aee7)

13.3.0 - (2021-10-29)

Bug Fixes

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

Documentation

  • Constants: Document missing autocomplete interaction constants (#6916) (aa4d055)
  • InteractionCollector: Add info block about being prone to always running (#6906) (5d987ee)
  • GuildStickerManager: Fix create() example (#6900) (bdd841a)
  • InteractionResponses: Move embed var position in example (#6896) (8806039)
  • Application: Rename Oauth2Application to Application (#6891) (76856b9)
  • Util: Deprecate .removeMentions() (#6866) (b6c9fd6)
  • Correct tags used for objects (#6846) (f7b7aac)
  • Redirect to events correctly (#6845) (38cc89e)
  • Typos, consistency and grammar fixes (#6811) (c44ea50)
  • Message: Specify Snowflake in return type of awaitReactions() (#6822) (4354c37)
  • Replace FetchOwnerOptions type definition (#6814) (b030130)
  • Remove dangling reference (#6810) (d57ec7a)
  • InteractionCollector: Remove repeated "the" (#6802) (b1b9c83)
  • MessagePayload: Change the typo of "wether" to "whether" (#6771) (d32956c)

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)
  • GuildChannelManager: Add 'rtcRegion' option to 'create' method (#6849) (487d32d)
  • Permissions: Add checkAdmin to permission overwrite checks (#6847) (7513b45)
  • Interaction: Add isApplicationCommand check (#6801) (6898fa3)
  • CommandInteraction: Add toString method (#6793) (bd48e6d)
  • Client: Add apiResponse and apiRequest events (#6739) (26f927b)
  • ModuleImporter: Implement import module compatible with bundlers (#6709) (d399a28)

Refactor

  • Move Guild setPositions methods to managers (#6875) (e12a5b6)
  • Remove gen-esm-wrapper dependency (#6884) (b278884)
  • Fix typos (#6852) (672baa4)
  • GuildManager: Remove redundant check (#6859) (579569a)
  • Remove redundant user agent parsing (#6820) (460df9e)
  • Remove unnecessary checks (#6777) (e24209a)
  • Role: Move initialization of delete prop out of _patch (#6776) (872e7a5)

Typings

  • fix: BaseCommandInteractionOptionResolver and CommandInteraction (#6910) (673c03f)
  • Constants: Remove deleted properties from Package (#6908) (7be9170)
  • Shard: Eval returns a promise resolving with T instead of T[] (#6901) (14d9a99)
  • ApplicationCommandManager: Add missing overload for fetch (#6904) (ee93a27)
  • TextBasedChannel: Text channel interaction collectors should have message option (#6903) (91a432e)
  • Cache types cleanup (#6867) (b2836da)
  • Allow message cached props to be narrowed (#6838) (c3948f8)
  • CommandInteractionOptionResolver: Allow narrowing of getMember() (#6831) (e8b6997)
  • BaseMessageComponent: Remove third parameter of create() (#6833) (d27fddb)
  • Message component cached props narrowing (#6809) (b541d0a)
  • ApplicationCommandOptionData: Remove required on subcommands (#6790) (5566404)
  • Integration: Add IntegrationType values (#6815) (187581d)
  • WelcomeChannelData: Allow store channels (#6778) (45ebea3)
  • Make embed author and footer props name and text required (#6779) (a84e51b)

13.2.0 - (2021-10-05)

Bug Fixes

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

Documentation

  • FetchReply info + example (#6753) (8bc1ece)
  • GuildMemberUpdateAction: Event doesn't get emitted on user update (#6752) (1db3e76)
  • Better links for .toJSON() of button and select menu (#6745) (6e5c768)
  • Undocument private constructors (#6732) (34b2ad0)
  • Message: Fix return type for reply (#6720) (3f11009)
  • CommandInteractionResolvedData: Fix key type (#6729) (466e796)
  • EmojiResolvable: Update description of typedef to remove ambiguity (#6708) (7cba676)
  • ApplicationCommandPermissionsManager: Fix example set method (#6658) (839974c)
  • Shard: Point to correct events (#6641) (b9a4899)
  • VoiceChannel: Deprecate editable (#6613) (88e2622)
  • PermissionOverwriteManager: Correct @returns of delete (#6632) (3c3522a)
  • MessagePayload: Correct return type of resolveFile() (#6605) (ea6a57e)
  • MessageButton: Fix info tag (#6590) (db73cf9)
  • WidgetMember: Fix typo for deaf (#6564) (33f6f82)
  • Constants: Fix interaction type link (#6558) (29d5fd1)
  • Fix JSDoc for ClientUser#edit (#6554) (34024f5)
  • Util: Correct @param for cleanContent() (#6531) (b89280a)
  • Formatters: Fix typo of TimestampStyles (#6523) (7d4a40a)
  • GuildChannelCreateOptions: Fix #type type (#6502) (4bfd5d3)
  • ThreadManager: Fix typo (#6485) (8a95211)
  • Fix wrong type being displayed in docs (#6504) (9ca10cc)
  • MessageManager: Fix typo (#6482) (70cc029)
  • MessageReference: Add possible message types (#6464) (93a83c2)
  • ApplicationCommandType: Add DAPI link (#6463) (17b4079)
  • BufferResolvable: Add warning for URL input (#6451) (16493e6)
  • Formatters: Use id over ID (#6439) (84bb4f4)
  • RoleManager: Error in examples (#6416) (759faa4)
  • Rename implementation of deferReply (#6412) (615afab)

Features

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

Performance

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

Refactor

  • User: Set accentColor and banner to undefined when not yet received (#6721) (ba93e85)
  • Use optional chaining (#6757) (a194d9c)
  • Use the node: protocol (#6710) (531b46c)
  • VoiceState: Use manager edit method to remove error (#6631) (29dd319)
  • Constants: Better type error in cdn endpoints (#6637) (124e177)
  • ES2021 features (#6540) (00bd92a)
  • Channel: Make delete async (#6417) (71fdf6f)

Typings

  • Interaction: Allow Interaction cached properties to be type narrowed (#6668) (d873a19)
  • Rename Awaited<T> to Awaitable<T> (#6756) (f88f4cc)
  • GuildBanManager: Remove can return null (#6748) (c3f4de4)
  • Add ExcludeEnum utility for easier typings (#6746) (42acc6e)
  • Webhook: More accurate type for sourceChannel (#6751) (32b5c2e)
  • WebhooksUpdate: Allow NewsChannels (#6749) (abf158d)
  • More accurate types instead of GuildChannelResolvable (#6744) (a8e6010)
  • ChannelTypes: Remove unknown from CHANNEL options (#6701) (8b4456e)
  • TextBasedChannels: Fix awaitMessageComponent return type (#6723) (a7cb314)
  • Vanity: Make uses non-nullable (#6715) (3a978f3)
  • Role: Role#comparePositionTo accepts RoleResolvable (#6722) (7c4d1df)
  • Presence: Fix ActivityOptions#type and Activity#id types (#6696) (fe95005)
  • Fix missing channel type in subcommand options (#6706) (da3ae48)
  • Add GuildEmojiManager to Caches (#6671) (1ca8d2c)
  • VoiceState: Allow moving members to stage channels (#6684) (94ca0f5)
  • Interaction: Improve type guard for inGuild() (#6644) (0347826)
  • MessageOptions: Allow APIEmbed (#6656) (92f6471)
  • WelcomeChannel: Allow store channels (#6615) (75d85f7)
  • MessageEmbed: Allow APIEmbed type (#6629) (256fb90)
  • TextBasedChannelFields: Add back createMessageCollector (#6616) (1b016a3)
  • Make channelId non-nullable on MessageComponentInteraction (#6600) (8cc3885)
  • Message#createMessageComponentCollector use MessageComponentInteractionOptions<T> (#6596) (c62823e)
  • MessagePayload: Specify typings for files and resolveFile (#6608) (ea36955)
  • Collector filter parameter inference (#6574) (0841956)
  • MessageReference: Correctly add undefined type (#6563) (cdb0005)
  • @typedef for StageChannelResolvable (#6568) (2c219cb)
  • Allow message component interaction collectors to infer collected interaction types (#6476) (03d5549)
  • CommandInteractionOptionResolver: Document & type thread channels (#6521) (774e960)
  • MessageComponentInteraction: Fix componentType (#6536) (0fe5f88)
  • Mark enums as const enums (#6394) (5c27639)
  • MessageEmbed: Allow null for setTimestamp (#6514) (7aff15a)
  • Require component type in raw object formats (#6452) (c232baa)
  • CommandInteractionOptionResolver: Add missing parameter (#6497) (656b518)
  • ClientPresence: Add type declarations and docs (#6450) (6cac03a)
  • GuildChannel: Added missing typing (#6454) (f294d1e)
  • Message#_patch typings return type (#6433) (81bb68d)

13.1.0 - (2021-08-12)

Bug Fixes

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

Documentation

  • Remove unparsed examples (#6404) (e6f48d8)
  • GuildManager: Increase fetch limit to 200 (#6406) (933d2c5)
  • ApplicationCommandData: Fix type property (#6385) (de3c86f)
  • Update links for api-docs (#6380) (779e14e)
  • Switch urls from upstream rearranging (#6378) (4c8dc4c)
  • Correct wrong interaction links (#6274) (49d3c0b)
  • Invite: MANAGE_CHANNELS instead of MANAGE_CHANNEL (#6361) (0062aa6)
  • Options: DefaultMakeCacheSettings typo (#6365) (ea8d77e)
  • Grammar fixes (#6345) (f13d27c)

Features

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

Refactor

  • Options: Separate default settings for make cache (#6330) (d14a6bf)

Typings

  • ApplicationCommandData: Make type field optional (#6405) (dcc556c)
  • Constants: Add ApplicationCommandTypes to Constants (#6398) (6342430)
  • ApplicationCommandOptionData: Align command data options types more with discord API (#6247) (297a911)
  • ApplicationCommandData: Stronger typings for ApplicationCommandData variants. (#6382) (75b48d8)
  • Options: CreateDefaultOptions => createDefault (#6376) (2a3e819)
  • Events: Renamed messageReactionAdd's reaction parameter (#6371) (006edca)
  • ImageURLOptions: Allow 'gif' format (#6342) (5f1def3)

13.0.1 - (2021-08-07)

Bug Fixes

  • GuildMemberManager: Refactor fetchMany (#6328) (909c873)
  • Message: Handle fetched messages (#6325) (ceae596)

Documentation

  • Fix bad indentation (#6316) (cd1aefb)

Typings

  • Util: Fix cleanContent parameter type (#6321) (60ace9a)

[13.0.0] - (2021-08-06)

Bug Fixes

  • MessageMentions: Check guild exists before adding roles (#6313) (1200bba)
  • GuildMemberManager: FetchMany fixes (#6314) (52817fc)
  • Caching: Sweep archived threads in all channel caches (#6312) (3725dca)
  • Message: Fix thread getter (#6309) (913c9fa)
  • BaseGuildTextChannel: Call patch (#6298) (3eb4140)
  • Remove support for overriding caches that break functionality (#6282) (a6d4035)
  • Message: Make #channel and #guild getters (#6271) (6e3236a)
  • WebSocketShard: Mark shard ready if no guilds intent (#6284) (09471be)
  • Action: GetChannel interaction DM (#6280) (a72b5a3)
  • GuildChannel: SetParent not working (#6276) (7e0618f)
  • ChannelUpdate: Restore accidentally removed line (#6263) (774f5b7)
  • Util: Fix collection import (#6256) (93e0239)
  • Array/keyArray removed (#6245) (bf221f2)
  • TextBasedChannel: Fix MessageCreate handling (#6217) (6b85f90)
  • PermissionOverwrites: Throw better error if resolving option fails (#6219) (42a0313)
  • Channel: Add default for destructured options (#6203) (6872547)
  • Use string instead of Snowflake for invites (#6202) (f060a3f)
  • ThreadChannel: Better property handling (#6172) (9679b90)
  • Export various classes that are exported in the typings (#6166) (30a58dc)
  • Typings: Type attachments to InteractionUpdateOptions (#6162) (4f8ca29)
  • GuildAuditLog: Assert target to null upon not finding invite codes (#6171) (c8ca7bf)
  • Message: Fix typo in sticker_items (#6173) (870a0de)
  • Sticker: Replace 'this.guildID' (undefined) by 'this.guildId' in fetchUser (#6160) (07017a9)
  • CommandInteractionOptionResolver: Type should be USER (#6148) (02f55f0)
  • CommandInteractionOptionResolver: Export CommandInteractionOptio… (#6146) (8ccfd6e)
  • CommandInteraction: Change options type from Collection to array (#6139) (77784ac)
  • GuildChannel: Only fetch invites for the specific channel (#6132) (c40c0f9)
  • PermissionsOverwrites: Only convert type if number (#6092) (dee5c83)
  • Channel type check in actions (#6086) (d433fe8)
  • GuildChannel: Clone its PermissionOverwriteManager too (#6083) (f72ce7c)
  • PresenceUpdate: Use added presence over nullable getter (#6077) (637c8e0)
  • InviteScope: Added missing 'bot' scope (#6052) (93e2c04)
  • SelectMenuInteraction: Set values to empty array if not provided (#6045) (34708d6)
  • Guild: Add invite manager property, extend CachedManager (#6049) (e3d877d)
  • TeamMember: Fixed incorrect return types. (#6044) (fe5d56c)
  • Structures: Remove Structures (#6027) (ab0b3b9)
  • GuildChannel: Use map method on cache not its manager (#6032) (d58f0d2)
  • PermissionOverwriteManager: Pass ID to API correctly (#6026) (8077e4f)
  • GuildChannel: Add missing 'cache' property (#6019) (7e30011)
  • Remove connection.url from open debug message (#6018) (39db953)
  • Util: SplitMessage not working with array (#6008) (bd25ff5)
  • Correct permissions checks and cache on update (#6015) (568691c)
  • ThreadManager: Fixed wrong private and fetchAll check (#6012) (e4be666)
  • Typings: Improve components typings in MessageEditOptions (#6002) (3a718d8)
  • ApplicationCommand: Fix typo in JSDoc (#5994) (6edf55c)
  • ThreadChannel: Check for existence of properties when patching (#5961) (9ac6867)
  • Typings: Erronous RawMessage (5842e35)
  • Thread: Make archive_timestamp not nullable (#5965) (edab5af)
  • Sharding: Strict type context and return (#5933) (1925d01)
  • Webhook: Return void from #delete for consistency. (#5954) (5ad83a6)
  • Collector: Docs and types (#5937) (6c447b1)
  • Message: Make author of referenced message nullable (#5929) (dc671c8)
  • User: Fix bot and system properties being incorrect in some cases (#5923) (e44ae96)
  • ThreadMemberManager: Fix ThreadMemberManager#add and ThreadMemberManager#fetch (#5927) (adecead)
  • Webhook: Resolve non-string avatars too (#5914) (4714a96)
  • ApplicationCommand: StringType isn't supposed to be sent to the API (#5916) (ca2a36b)
  • Permissions: Allow admin to override in the missing method (#5911) (ee025b0)
  • InteractionResponses: Set replied status on editReply (#5899) (6d3d00b)
  • Message: Flags not being parsed on some edits (#5886) (2d7c12b)
  • Guild: Don't patch before instance properties (#5885) (174b7a7)
  • presenceUpdate: Fire when only state/details change on an activity (#5846) (1f8f3ab)
  • Message: EditedTimestamp defaulting to 0 (#5847) (671436c)
  • ApplicationCommand: Default option.required fix (#5848) (a1f94f6)
  • Guild: SetChannelPositions null parenting (#5841) (01a1fd6)
  • ApplicationCommand: Default option.required to false (#5838) (77c1f15)
  • GuildManager: #create throws when systemChannelFlags is undefined (#5832) (29173bf)
  • GuildChannel: Don't force parentID/permissionOverwrites to empty on create (#5823) (c585933)
  • GuildChannel: Improve empty overwrite handling for permissionsLocked (#5821) (6df3623)
  • ApplicationCommands: Allow managing commands for uncached guilds (#5729) (24e5868)
  • ClientApplication: Freeze flags (#5811) (e990c35)
  • *: Typedefs and typings for image & webhook options (#5805) (a5a6e22)
  • TextBasedChannel: Allow passing an APIMessage with split (#5815) (93b0a4e)
  • PermissionOverwrites: Optional allow/deny OverwriteData (#5810) (a7ebb21)
  • Typings: Fix BitField toJSON/valueOf return types (#5806) (935f819)
  • Hooks: Make husky hooks executable (#5812) (77e28cf)
  • GuildChannel: Clone errors when options.name isn't provided (#5804) (41673b7)
  • WebSocketShard: Don't catch errors thrown in event handlers (#5803) (53d8e49)
  • Don't patch missing properties from partial payloads (#5796) (097c7b9)
  • GuildChannel: Spread clone options to avoid infinite recursion (#5800) (2f5424b)
  • Webhook: Throw an error if no token is available when it's required (#5798) (eb98e33)
  • ClientPresence: Produce valid activities for set presences (#5799) (ea0e06f)
  • BitField: Ensure missing returns an array of strings (#5795) (68f7aeb)
  • ApiMessage: Only pass objects as options directly (#5793) (3578159)
  • BitField: Throw an error if bit to resolve is undefined (#5565) (0156f69)
  • Remove remnants of awaitMessageComponentInteractions (#5783) (ae78a33)
  • *: Add missing imports for custom errors (#5767) (e980948)
  • ShardingManager: Client error event cannot be emitted (#5559) (d1c5b6f)
  • Add components to MessageOption typedefs (#5768) (657635c)
  • Interaction: Add missing types and fix docs lists (#5762) (1d57754)
  • Webhook: #editMessage throws error when content is null (#5757) (2901fd5)
  • MessageComponentInteraction: Correctly type defer method (#5760) (f0dad26)
  • RoleManager: Bug in #create (#5730) (cf22456)
  • Message: Update typings and docs related to #edit (#5745) (a2f0c11)
  • Typings: Add missing typings for HttpError -> requestData (#5742) (3e9ce35)
  • MessageEmbed: Import custom RangeError class (#5740) (bfe01b5)
  • CommandInteraction: Cmds with no options throw error (#5734) (af2fad9)
  • CommandInteraction: Channel type should be text based channels (#5690) (5141ea4)
  • GuildMemberManager: Allow moving members to any non-text channel (#5681) (d21e6af)
  • Interfaces not importing due to re-export of Snowflake (#5723) (086c3f0)
  • PermissionOverwrites: Fix typo in typedef jsdoc (#5704) (6567ba8)
  • Types: Make event listeners accept async callbacks (#5602) (a73a5cf)
  • GuildEmojiRoleManager: Bug in #remove (#5666) (c89bdd7)
  • ApplicationCommandOptionData: Options property should be itself (#5679) (b90b0c3)
  • APIMessage: Document Interaction as valid MessageTarget (#5678) (9f491ff)
  • Message: Bug in #suppressEmbeds due to #5612 (#5644) (840ad0a)
  • Lint-staged for typescript files (5f6ec22)
  • DataResolver: Fix circular dependency error with GuildTemplate (#5622) (b376f31)
  • ApplicationCommandManager: Limit permission methods to guilds (#5613) (03256bd)
  • CommandInteraction: Update typings and docs for #editReply (#5630) (56d44fb)
  • ApplicationCommand: Return string equivalent of ApplicationCommandOptionType (#5617) (a6079bc)
  • Resolve emoji in Message#react (#5614) (c733436)
  • Typo in GuildMemberManager (#5616) (73f4114)
  • Message: Editing with MessageEmbed or APIMessage (#5612) (74e97ef)
  • VoiceReceiver: Fix memory leak (#5609) (2eac842)
  • ApplicationCommandManager: Fix typo in JSDoc (#5603) (3392eb7)
  • Sticker: File renamed to SnowflakeUtil (#5573) (f830eb7)
  • Emoji: Name can be null (#5513) (5397021)
  • GuildMemberRoleManager: Unable to remove roles when passed an array (#5556) (9572521)
  • Typings for 'Message' (#5518) (0d68ca8)
  • HTTPOptions: Change default value in jsdoc to 8 (#5547) (cb50241)
  • GuildAuditLogsEntry: Executor can be missing (#5500) (e9bf206)
  • typings: Update GuildMemberRoleManager typings to match implementation (#5497) (900e576)
  • MessageMentions#channels: Fix type of channels of mentions (#5370) (565d7b3)
  • Resolvables: Valid resolvables throw error when uncached (#5495) (fa5a37e)
  • GuildChannel: Check for community required channels in GuildChannel#deletable (#5170) (b710a43)
  • GuildMember: Correctly check for premium_since (#5312) (aff3625)
  • Voice: Only skip undocumented voice packet byte if present (#5309) (2b52cdc)
  • Typings for 'WebhookMessageOptions' (#5476) (67025e6)
  • IntegrationApplication: Add missing export to index.js (#5475) (8023250)
  • ApplicationFlags: Export class (#5465) (404ce57)
  • Voice: Disconnect if voice channel not cached (#5467) (3af8179)
  • InviteDelete: Guild can be missing (#5457) (6c6b105)
  • ReactionUserManager: Remove before query option (#5281) (43bd568)
  • GuildManager: Add missing toString() on Permission#resolve fns (#5324) (0778926)
  • GuildChannel: Regression on default channel type (#5251) (e7c4f36)
  • Guild/GuildChannel: Methods reason arg usage (#5419) (8411b9e)
  • Role: Pass Permissions class, not the bitfield (#5321) (d744e51)
  • WebSocketShard: Key name in WebSocketShard#_send. (#5304) (56d8b44)
  • ApiMessage: Remove resolve() from typings (#5241) (a6bc39d)
  • GuildChannel: Overload permissionsFor and BaseManager#resolve[id] (#5260) (41bd6c2)
  • GuildEmoji: Check for cahnges to available in equals (#5201) (f95f5dc)
  • VoiceConnection: Make #dispatcher nullable (#5217) (0d5de43)
  • Message: Update getters to take null permissions into account (#5066) (98b1c58)
  • typings: Return types for 'Webhook(Client)#send()' (#4876) (eb28ee7)
  • MessageEmbed: Include author.name in length getter (#5167) (e37160f)
  • Collection: ToJSON() errors if the collection includes empty values (#5129) (2c2249e)
  • Implement valueOf on pseudomanagers (#4595) (8883a01)
  • Add presence to ClientPresence from ClientOptions (#5041) (9c7fe34)
  • Filtering of string forms of null and undefined (#5075) (9042d19)
  • ChannelManager: Avoid crash in remove method with uncached channel (#4937) (12c909e)
  • Message: #system non-zero message types are not guaranteed to be system (#5108) (bb78120)
  • UserFlags: Correct early bot dev name, remove deprecated aliases (#5104) (b509862)
  • Collector: Throw an error if a non-function was provided as filter (#5034) (7365f40)
  • BaseGuildEmoji: Typo in requiresColons (#5076) (e272fd6)
  • MessageReaction: Set MessageReaction#me in patch method (#5047) (6b322f4)
  • Voice*: Filter out silent audio from video users (#5035) (4fcb9eb)
  • GuildTemplate: 'guild' getter (#5040) (53529bd)
  • RoleManager: Fix ID return value, change return type to collection (#4935) (12a096b)

Documentation

  • Grammatical fix (#6311) (7787a76)
  • Grammar fixes (#6308) (0664477)
  • General cleanup and improvements (#6299) (b4afcf8)
  • Typo in ClientOptions (#6305) (dd3a79e)
  • Grammar fix (#6294) (90c2e07)
  • Client: Mark _finalize as private (#6281) (35fa3b3)
  • Update link of the guide to v13 changes (#6273) (6e0ea02)
  • Add missing semicolon to readme (#6270) (2c452df)
  • Change example in readme to slash command (#6250) (626ff85)
  • InteractionResponses: Correct @returns on responses (#6257) (bb56f17)
  • Refactor a few @returns descriptions (#6228) (82daee5)
  • Widget: Add the typedef WidgetChannel (#6182) (8b52d06)
  • Update readme node version requirement (#6241) (797727a)
  • GuildManager: Correct GuildCreateOptions typo (#6224) (2675b08)
  • Constants: Document the Constants object for enum-like usage (#6208) (cc5f1ce)
  • Guild: Correct GuildRolePosition typo (#6223) (40b127e)
  • WelcomeChannel: Correct guild return type (#6222) (d310e4f)
  • Constants: Fix StickerTypes typedef (#6218) (105a194)
  • MessageMentions: Fix documentation for members property (#6206) (f44bfc4)
  • Guild: Add GuildTextChannelResolvable type definition (#6221) (1009ce1)
  • InteractionResponses: Document missing properties (#6178) (5e433b5)
  • CommandInteraction: Correct type definition of CommandInteractionOption (#6169) (5e70694)
  • InteractionResponses: Reply docs example (#6079) (b170fb5)
  • InteractionResponses: Generalize wording in update to fit other component interaction types (#6074) (67e9ce4)
  • ClientUser: Fix shardId nullable (#6072) (28b5ffb)
  • Fixed several typings and MessagePayload#create JSDoc (#6059) (4c0426c)
  • ThreadChannel: Fix documentation for setLocked method (#6053) (8d9ab74)
  • MessageManager: Document options param for #edit as required (#6031) (db60e36)
  • Add Partial typedef (#6029) (b62d646)
  • Fix some missed MessageComponent collector methods (#6023) (610b0b4)
  • *: Wrap optional properties with union types in parentheses (#6021) (ec06ba7)
  • Collector: Properly document endReason (#6016) (7dd1a8d)
  • CreateInviteOptions: Fix TargetType link (#6017) (4adfc45)
  • *: Add class links to isX() methods (#6007) (fbdad6e)
  • WebSocketShard#send and TextBasedChannel#send (#5998) (726073f)
  • Util: Methods removed on the base object (#5990) (d742814)
  • Partials: Add link to the guide (#5982) (58183d4)
  • MessageSelectMenu: Add link to Discord docs (#5984) (f819416)
  • ThreadManager: Fix FetchedThreads typedef and startMessage (#5971) (f108746)
  • Message: Add ThreadChannel as a channel type (#5972) (58bc145)
  • ThreadManager: Fix reason prop of ThreadCreateOptions (#5970) (5dfd7dd)
  • Channel: Fix description of thread channel types (#5968) (853be62)
  • Drop string from MessageButtonStyleResolvable (#5944) (41f718f)
  • Features: Resolved typo in FATEWAY_PRESENCE_LIMITED (#5952) (d38b347)
  • Webhook: Fix thread example in send method (#5953) (d3d19ce)
  • Channel: Make the type news_thread an inline code-block (#5940) (630432b)
  • Thread: Add links to discord api docs (#5919) (5af2ef5)
  • MessageSelectMenu: Fix options typings (#5922) (75837a8)
  • *: Add links to Discord's API objects & data (#5862) (e0efcc6)
  • Move embeds field into BaseMessageOptions (#5902) (6cebeae)
  • Readme: Remove dependencies badge (#5901) (edf6f0c)
  • AnonymousGuild: Add missing extends tag (#5896) (3d96a33)
  • VoiceState: Channel can be null (#5872) (807ea2d)
  • ReplyMessageOptions,MessageEditOptions: Replaced embed with embeds (#5860) (e3ed74a)
  • Consistent application name usage (#5853) (96a4e7b)
  • TextBasedChannel#send: Update embeds example (#5857) (a6dae75)
  • ButtonInteraction: Fix typo (#5835) (9376ee4)
  • Removed topics and FAQ from the repository (#5820) (9e5106d)
  • README: Re-add install command, remove voice remnants (#5817) (55ad6f0)
  • MessageEmbed: Deprecation advisory for type (#5774) (f5f3f77)
  • Messages: Fix examples in messages after changes in #5758 (#5791) (35c2225)
  • ApplicationCommand: Typos in ApplicationCommandPermissionData (#5789) (4511624)
  • GuildMemberManager: Fix docs for #search() (#5784) (0139e10)
  • CommandInteraction#channelID is type of Snowflake (#5776) (32d8c8b)
  • InteractionDeferOptions: Correctly define the typedef (#5769) (4567cd4)
  • Add new guild features (#5755) (f7e420b)
  • Message: Fix content param in #edit not showing as nullable (#5748) (df9b678)
  • All the missing object -> Object changes (#5738) (b317d86)
  • Remove traces of StringResolvable (#5727) (678b7da)
  • Webhook: Update typings and docs for #editMessage (#5713) (256d1b0)
  • Message: Add example for message.reply (#5332) (7d7d2a5)
  • TextChannel: Warning about setRateLimitPerUser NewsChannel (#5403) (47bbdf4)
  • Fix InteractionDeferOptions typedef (#5694) (add924c)
  • ColorResolvable: Add Fuchsia to ColorResolvable typedef (#5676) (7d9818e)
  • Add new typedef to properly doc InteractionReplyOptions (#5632) (3589e0f)
  • Guild: Add proper punctuation to #fetchOwner jsdoc (#5645) (c8d20a4)
  • Correct casing of object -> Object in AuditLogChange (#5636) (ab82caf)
  • GuildChannelManager: Add stage option (#5608) (d219ecd)
  • MessageEmbed: MessageEmbedOptions typedef (#5466) (4a06dd1)
  • Update invite link, change version in the intro (#5592) (533c247)
  • VoiceState: #setRequestToSpeak and #setSuppressed returns a Promise instead of void (#5558) (705d7b3)
  • GuildChannelManager: Fix type options in description (#5440) (936516c)
  • ClientUser: #setPresence does not return a promise (#5485) (599f0f5)
  • GuildChannel: #members add cached spec, include voice (#5385) (e848d25)
  • BanOptions: Make days description more clear (#5327) (dedf432)
  • Update docs and examples for #4879 (#5323) (685b260)
  • GuildMember: Document owner override in permissions getter (#5320) (62ba249)
  • ChannelManager: Fetch can return Promise (#5422) (1c8b109)
  • Guild: Clarified description of guild.features (#5352) (941e36f)
  • BaseManager: Fix a typo in #resolveID description (#5180) (640a663)
  • BitFields: Remove string from BitFieldResolvable (#5122) (9ffcd83)
  • MessageEditOptions: Add the flags parameter (#5126) (2aea7dd)
  • RoleManager: Fetch description (#4920) (be0f383)
  • TextBasedChannel: Indicate that replyTo cannot be system (#5115) (5c4547e)
  • Permission overwrite methods descriptions (#5079) (77d4237)
  • Client: #emojis is a BaseGuildEmojiManager (#5048) (2685b96)
  • User: Fix typos in jsdoc (#5060) (09d0755)
  • WebSocketManager: Fix type of status (#5059) (9f3c3e0)

Features

  • Collector: Return a boolean on checkEnd (#6289) (f473f43)
  • Channel: Add isVoice() (#6297) (5b4efd1)
  • Constants: Added more error codes (#6234) (6b2098f)
  • MessageEmbed: Add setFields method (#6186) (a25e165)
  • ThreadChannel: Add fetchOwner() method (#6207) (331a9d3)
  • Util: Add SweptCollection for auto sweeping of caches (#6110) (dbb59ba)
  • WebhookClient: Allow creation of clients via URLs (#6192) (e000af5)
  • FetchRecommendedShardsOptions: Account for large bot sharding (#6184) (19b242a)
  • GuildAuditLogs: Add threads (#6195) (26ba0e1)
  • Guild: Add fetchWidget() for getting widget data (#6180) (b22272f)
  • ApplicationCommandOptionType: Add NUMBER (10) (#6128) (2f1cc1f)
  • CommandInteractionOptionResolver: Add sub-command required option (#6165) (690c121)
  • Sticker: Updates, sticker packs, and guild stickers (#5867) (54d6a3a)
  • GuildPreview: Add createdAt & createdTimestamp (#6130) (9f039a8)
  • CommandInteraction: Add CommandInteractionOptionResolver (#6107) (f293132)
  • Make Instance#fetch force true by default, and fix force parameter (#6116) (366f3c9)
  • REST: Append additional information to the required User Agent (#6112) (f200f14)
  • Client: Add conditional ready typings (#6073) (4206e35)
  • Allow channels from uncached guilds to be returned from fetch (#6034) (755c180)
  • Collector: Better types for events (#6058) (c0a814f)
  • Message: Add 'failIfNotExists' to ClientOptions (#6038) (28c5724)
  • LimitedCollection: Export LimitedCollection (#6043) (31d3129)
  • Client: Enforce passing scopes to generateInvite (#6024) (c6e5521)
  • Managers: ✨ Add GuildInviteManager (#5889) (9e08b02)
  • Managers: Add customizable caching for managers (#6013) (8c7cb0e)
  • InteractionCollector: Reworked to be more generic (#5999) (374c779)
  • PermissionOverwriteManager (#5318) (e7ad2fe)
  • Formatters: Added new URL utilities and docs (#6014) (98e45a5)
  • RoleManager: Added edit method, alias Role#edit (#5983) (1e73c25)
  • StageChannel: Add createStageInstance method & use better naming convention (#5951) (71fb33a)
  • Channel: Add isThread typeguard for better TS support (#5978) (b7ed675)
  • Util: Added formatters (#5976) (8c7a28f)
  • Interactions: Option to auto-fetch replies (#5831) (5e28ff8)
  • Interaction: Add guild guard (#5955) (87e8cdd)
  • Managers: New ApplicationCommandPermissionsManager (#5897) (6264c60)
  • MessageComponentInteraction: Component getter (#5840) (1439183)
  • MessageMentions: Add repliedUser (#5905) (2616125)
  • MessageSelectMenu: Droppybois (#5692) (e5fcf0b)
  • Api v9 and threads (#5570) (7346621)
  • InteractionCreate: Move to an Action handler (#5906) (ea49f7c)
  • Add missing APIError codes (#5898) (d930c81)
  • Interactions: Improve error handling for ephemeral responses (#5892) (bd9f56a)
  • Add APIError codes for stage instance (#5888) (c850ae1)
  • WelcomeScreen: Welcome screens (#5490) (44e2ee7)
  • Stage instance invite (#5856) (2d12db0)
  • Guild: Add enum for premium_tier (#5868) (a3cbcca)
  • *: Use enums for consistency and speed (#5843) (f7eeccb)
  • Widget: Wrapper for widget.json (#5619) (038ee99)
  • Stage instances (#5749) (918921e)
  • *: Document and support embeds field in message create endpoint (#5792) (99ff715)
  • Guild: Add enum for mfa_level (#5797) (ffabec3)
  • RequestHandler: Emit more info when a rate limit was hit (#5801) (18ac72e)
  • Add new APIErrors (#5794) (e0ab836)
  • Util: Allow array for StringOptions' char (#5566) (fbcbb29)
  • GuildAuditLogs: Make #target a channel for channel related logs (#5781) (eb0291d)
  • Sharding*: Contexts for broadcastEval (#5756) (c6aeebb)
  • Voice: Implement support for @discordjs/voice (#5402) (7b2e12b)
  • General component improvements (#5787) (c4f1c75)
  • GuildChannelManager: Add 'fetch' method (#4966) (e798fb7)
  • Rest: Optional ratelimit errors (#5659) (16f261e)
  • Promisified single interaction collection (#5770) (c2b3ed0)
  • Message: ApplicationID for interaction responses (#5765) (65dc00f)
  • Client: Make use of with_expiration in #fetchInvite (#5764) (bf191df)
  • Interactions: Add InteractionWebhook for better internals (#5712) (dec191a)
  • MessageComponents: Clickybois (MessageButton, MessageActionRow, associated Collectors) (#5674) (cbd7f2b)
  • Esm: Use gen-esm-wrapper instead of manually making the file (#5700) (db0d7d4)
  • Rest: Show the data that is sent to Discord when an errors occurs (#5701) (ef92339)
  • CommandInteraction: Make options a collection (#5705) (fdad140)
  • [breaking] *: Enforce strings (#4880) (7b85a72)
  • Message: Allow editing files into messages (#5718) (b212b64)
  • Easier guards for channelUpdate (#5716) (d52bcd4)
  • Add support for fetching multiple guilds (#5472) (48d6850)
  • Guild: Add the new nsfw_level property (#5660) (3fe7add)
  • InteractionDeferOptions (#5641) (ed593c9)
  • CommandInteraction: Ephemeral followup messages (#5618) (68b40dd)
  • GuildChannel: CreateInvite target options (#5514) (f831872)
  • MessageEmbed: Remove normalizeField validation (#5459) (ff2f737)
  • GuildMemberManager: Extend API coverage (#4872) (2e2464b)
  • GuildChannel: Make createOverwrite and updateOverwrite not dependent on cache (#5489) (58763b0)
  • MessageManager: Extend API coverage (#4869) (c56c4a8)
  • Message: Add ReplyMessageOptions for #reply (#5296) (7ce741d)
  • ShardingManager: Add options typings (#5583) (31b4390)
  • GuildChannel#clone: Support for position property (#5236) (d455cb6)
  • GuildBanManager (#5276) (6d09160)
  • APIRequest: Support setting global headers in HTTPOptions (#5586) (135abcc)
  • Message: Replace referencedMessage with fetchReference (#5577) (1398431)
  • Message: Allow removing attachments (#5557) (ca9e5a0)
  • Add support for application command events (#5596) (9f74f95)
  • Interactions (#5448) (f7643f7)
  • Sticker: Added Sticker (#4909) (026afc2)
  • Webhook: Add 'fetchMessage' method (#5530) (63398d6)
  • GuildManager: Allow system channel flags in create (#5504) (d9fa180)
  • Guild: SetChannelPositions parent, lockPermissions keys (#5507) (4866e26)
  • Webhook: SourceGuild, sourceChannel, improve owner (#5508) (116ecf2)
  • Guild: Allow description and features in edit (#5505) (8a059cc)
  • Util: Make cleanContent take a channel instead of a message (#5535) (f1c0c04)
  • Guild: Nsfw guilds (#5525) (5968323)
  • Guild: Replace owner with fetchOwner (#5480) (1be67b8)
  • GuildFeatures: Added the new screening features (#5328) (3c175cb)
  • MessageAttachment: Support for #contentType (#5481) (7b161f9)
  • SysChanFlags: New flag and rename in sync with client (#5506) (fe93a7e)
  • Move internal regular expressions to static properties (#5384) (207735c)
  • typings: Add ShardingManager.shardList to type definitions (#5446) (32b0d71)
  • typings: Explicitly type PremiumTier and Collectors (#5458) (7c49612)
  • Make changes to PresenceData typings and docs (#5317) (eb43ce4)
  • MessageTypes: Add 16 and 17 (#4685) (c9107e3)
  • GuildMemberManager: Add 'search' method (#4154) (0ba2bcb)
  • Stage channels (#5456) (eec7cf7)
  • Activity: Add missing fields (#4984) (63ff6a0)
  • Webhook: Add '(edit|delete)Message' methods (#5223) (7cabc1c)
  • Rest: Better handling of global rate limit and invalid request tracking (#4711) (9d2d606)
  • Application: Application flags (#5147) (06e9d86)
  • WebSocketManager: Let identify throw on depleted limits (#5283) (624a446)
  • Jsdelivr default file support (#5424) (f469402)
  • Client: Add InviteGenerationOptions#additionalScopes (#5215) (ae3c3d8)
  • ReactionCollector: Event create (#4108) (09d1f2f)
  • ShardingManager: Allow b-Eval/fetchClientValues on a specific shard when not all are ready (#5222) (001676c)
  • GuildChannel: Support conversion between text and news (#5022) (5ac3b57)
  • BitField: Move problematic bit into the error message (#5228) (273e955)
  • ClientEvents: Add tuple labels to event arguments (#5225) (764966e)
  • GuildMember: #pending (#5121) (c4c8171)
  • GuildEmojiManager: Implement GuildEmojiManager#fetch (#4933) (ffe3140)
  • Browser: Remove browser � (#5113) (0a591a9)
  • Role: Role tags (#4628) (d6234b7)
  • APIMessage: Remove disableMentions (#4836) (4107899)
  • GuildMember: Make GuildMember#setNickname first param nullable (#5070) (d70127c)
  • Message|TextChannel: Inline replies (#4874) (60e5a0e)
  • BaseGuildEmojiManager (#4934) (8d650a7)
  • Message: Added string type for message nonce (#4782) (4b555fd)
  • GuildMemberManager: Throw TypeError on incorrect GuildMemberManager#ban params (#4816) (863734a)

Refactor

  • Replace dependency with initial implementation (#6310) (d5e28c2)
  • Interaction: Rename defer to deferReply (#6306) (4241feb)
  • InteractionCollector: Only keep Ids of objects (#6084) (b639b6c)
  • Channels: Fix incorrectly shared properties (#6262) (5be471b)
  • Added TextBasedChannels type (#6286) (61db5f7)
  • MessageComponents: Default setDisabled to true (#6279) (3c7c822)
  • *: Use async functions (#6210) (e2e4f65)
  • GuildChannel: Use filter method for #members (#6253) (7c54076)
  • VoiceState: Change kick to disconnect (#6251) (24931d7)
  • Merge collections with keeping entries at max (#6242) (bb5e648)
  • Message: Accept a single object instead of 3 arguments (#6244) (434e330)
  • Move member adding to manager (#6231) (198a5c4)
  • Use guild-wide route for fetching active threads (#6193) (2a07055)
  • Remove extended collection (#6246) (00bae4f)
  • Strengthen channel typings in appropriate places (#6232) (65ae064)
  • Message: Make thread a getter for accuracy (#6215) (5f710ae)
  • Match subcommand (group) name casing with Discord's (#6204) (a69e2f7)
  • Only cache commands from own user (#6161) (4886ae2)
  • Message: Combine patch methods (#6071) (cd47a52)
  • CommandInteractionOptionResolver: Add readonly data property (#6156) (328501b)
  • OptionResolver: Accept single type instead of an array (#6154) (5addcd1)
  • Change const enums to interfaces (#6078) (63ce065)
  • ActionsManager: Less complex code (#6102) (4d53d0f)
  • Remove timer utilities from Client (#6113) (5ca97c9)
  • Remove typing caching (#6114) (576eee8)
  • Channel: Change channel types to UPPER_CASE (#6035) (6301728)
  • Managers: Rename add to _add (#6060) (9cd5e7e)
  • ApplicationCommandManager: Remove unused assignment (#6063) (98a5b52)
  • Rename Constants.OPCode to Opcode, moved objects to enums (#6065) (4eb3a2a)
  • PresenceManager: Have Presence extend Base and simplify add (#6056) (ded93fe)
  • Presences: Remove from User, nullable on GuildMember (#6055) (afbd5db)
  • Intents: Remove computed shorts (#6050) (3022b0f)
  • Remove lastMessage properties from User and GuildMember (#6046) (1a27f57)
  • typings: General cleanup (#6047) (676118a)
  • Change xID to xId (#6036) (a7c6678)
  • Improve typings and docs related to threads (#5991) (4bf4980)
  • Util: Make class extend null (#6000) (2446ff5)
  • Rename events to be consistent with WS names (#6010) (a11a105)
  • New node features (#5132) (1e8f012)
  • Presence: Remove second assignment of syncID (#5956) (fb8d516)
  • MessagePayload: Rename APIMessage (#5921) (b15d825)
  • Removed code and split options (#5918) (985d4d6)
  • Collector: Make filter an option (#5903) (0d0c8f0)
  • Remove exported shortcuts to util methods (#5904) (1816a93)
  • Package: Remove runkitExampleFilename (#5866) (6cceb93)
  • awaitMessageComponentInteraction: Use options object for lib consistency (#5852) (9dda9b7)
  • *: Make typedefs for all options params (#5785) (1ac9a2e)
  • GuildPreviewEmoji: Make roles an array (#5720) (4dbcaf7)
  • APIMessage: Remove unused declarations (#5836) (02693bc)
  • Fetch options consistency (#5824) (7111b4c)
  • GuildChannel: Use Permissions.defaultBit over 0n (#5822) (19d0405)
  • Remove all voice code (#5818) (fdef940)
  • MessageEmbed: Remove files (#5813) (e3e466d)
  • Guild: Remove region from guild and manager methods (#5766) (a1f763e)
  • Enforce single param on sending/editing methods (#5758) (0467a90)
  • GuildAvailable, typingStop from Constants (#4861) (dda5ee2)
  • Interactions: Move Structures import out of switch block (#5763) (84e5b07)
  • Remove _roles from pseudo-managers (#5721) (53d952a)
  • Deps: Use async-queue package (#5662) (14c6802)
  • *: Return the invalid element when erroring from Array (#5314) (eaf332f)
  • MessageOptions: Move replyTo to reply#messageReference and add failIfNotExists (#5298) (1ecda83)
  • Sticker: Rename Snowflake variable (#5575) (af00ec8)
  • RequestHandler: Use x-ratelimit-reset-after when present (#5511) (a5d41c9)
  • Remove error-silencing try/catch on event handler imports (#5542) (cdcc50f)
  • Sharding: Use options objects (#5510) (c9b5353)
  • Add discord-api-types as a dependency (#5539) (1b827fe)
  • Rename Snowflake to SnowflakeUtil (#5502) (164ddf6)
  • Guild: Remove fetchVanityCode() (#5471) (0a2e0c0)
  • Collector: Make endReason a getter (#5271) (8d14ee3)
  • Switch api and gateway to V8 (#4879) (ee5bc1a)
  • Client: Remove fetchAllMembers option (#5257) (aaed72b)
  • GuildMember: Remove GuildMember#hasPermission (#5152) (5401b92)
  • Util: Remove convertToBuffer (#5237) (a33eed7)
  • Message: Remove stored edit history (#5155) (8c2e6b7)
  • RoleManager (#5131) (2a0dcc5)
  • Message: Remove options for Message#delete (#4999) (75e6dfb)
  • Client: Improve generateInvite() (#5065) (5b51392)

Testing

  • Types: Add notPropertyOf type-only utility (#6051) (03fe6ee)
  • Client should destroy (#5353) (4099c28)

Typings

  • MessageButtonOptions: Clean up and export some button option type definitions (#6291) (ae6200e)
  • Make MessageTarget extend on TextBasedChannels (#6296) (5b0621f)
  • Caches: Add GuildStickerManager and GuildInviteManager (#6268) (15aea68)
  • Use api-types for stricter typings (#6230) (00c2bf8)
  • ButtonMessageOptions: Make button/link button typings more specific (#6212) (77c72e6)
  • WsEvents: Add thread ws events (#6194) (4f1f32f)
  • DataManager: Add 'K' to type parameter of 'resolveId' (#6152) (8586505)
  • ColorResolvable: Readonly tuple (#6153) (1e90be8)
  • Message: Mark #thread as nullable (#6129) (ef5ba05)
  • Options: Add types for cacheWithLimits (#6095) (8db6df3)
  • Interaction: Change inGuild return type (#6094) (60148c6)
  • PartialWebhookFields: Add APIMessage to deleteMessage union (#6085) (a9e7ebd)
  • Interactions: Fix function overloads (#6109) (98c6078)
  • Guild: Remove fetchVoiceRegions (#6099) (a8984bc)
  • Partial: Add partial reactions (#6066) (d6c43a5)
  • Test: Fix overloads for channel create (5b6be0c)
  • GuildInviteManager: FetchInvitesOptions (#6076) (c1eaa78)
  • Fixed unreachable overloads (#6062) (7322547)
  • ApplicationCommand: Fix option name (#6067) (58bbcd5)
  • *: Revert incorrect unknown type changes (#6057) (2e078e4)
  • Options: Should extend null (#6042) (c4aa9fe)
  • Voice: Move types to the library's definitions (#6041) (185e376)
  • Better fullPermissions typings (#6028) (2ab32e6)
  • MessageOptions: Fix components being optional (#6005) (56b5b7e)
  • *: Create mention types (#6003) (0dc5dd5)
  • VoiceState: Fix optional params (#5993) (1242c54)
  • ClientUser: Updated setAFK signature (#6011) (c40b06c)
  • MessageSelectMenu: Fix typings (#5995) (fe6cc0c)
  • Interactions: Fix function overload types (#5989) (521d26c)
  • Few missing thread channels (#5988) (941cd86)
  • MessageOptions: Improved component typings (#5987) (0eeb277)
  • ApplicationCommandPermissionsManager: Fix types (#5979) (388e05b)
  • ThreadChannel: Make locked and archived param optional (#5980) (a08ce7d)
  • *: Make hex color types compatible with ColorResolvable (#5973) (788d58e)
  • CommandInteraction: Readd followUp type (#5974) (ae37d20)
  • ThreadManager: Add type to ThreadManager#create options (#5969) (3174507)
  • ColorResolvable: Change string to #${string} (#5950) (acdcb90)
  • Define ApplicationCommand enums in lib (#5947) (e37ef3a)
  • Fix remaining Raw type references, update discord-api-types dep (#5942) (03d3a5c)
  • ThreadMemberManager: Fix incorrect usage (#5928) (6065b11)
  • MessageReactionResolvable: Add string (#5863) (a0b7d95)
  • GuildApplicationCommandManager: Allow undefined command (#5837) (d5bb758)
  • Corrected shard broadcastEval (#5834) (a0a56e2)
  • MessageComponentInteraction: Update should return Promise (#5829) (08cffd6)
  • Extendable: Add ButtonInteraction (#5802) (19fd162)
  • Extend MessageComponentInteractionCollector correctly (#5752) (c6696d8)
  • Fix awaitReactions typings for returned collection (43fc40e)
  • Change remaining string IDs to Snowflakes (#5737) (ff4d6dd)
  • Snowflake: Export the type (#5722) (66a6a1f)
  • Use Snowflake type (#5717) (76db642)
  • PermissionOverwriteOptions: Remove unused interface (#5651) (b40027b)
  • WebhookMessageOptions: Omit reply instead of replyTo (#5610) (2345c6d)
  • Remove typings for Client#disconnect event (#5469) (a4d09ab)
  • PermissionOverwrites: Use correct parameter type for resolveOverwriteOptions (#5302) (ca5f371)
  • MessageReaction: Allow message to be partial (#5303) (aac6275)
  • RateLimitData: Remove timeDifference property (#5208) (80e1afb)
  • Make Client#voice non-nullable (#5148) (40d77ba)

Breaking Changes

For breaking changes please reference: https://discordjs.guide/additional-info/changes-in-v13.html