From 1e0603551573e7bab65b9f8c325081507849bdbb Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Sun, 12 Nov 2023 23:38:58 +0200 Subject: [PATCH] chore(discord.js): release discord.js@13.17.1 (#9955) --- CHANGELOG.md | 2625 ++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 2626 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6cf13843e21..27bbe4f110ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,2631 @@ All notable changes to this project will be documented in this file. +# [13.17.1](https://github.com/discordjs/discord.js/compare/13.17.0...13.17.1) - (2023-11-12) + +## Bug Fixes + +- **ClientPresence:** Correctly set activity state on CUSTOM activity type (#9954) ([f475336](https://github.com/discordjs/discord.js/commit/f475336b3eb9967a411433b9f2dfcdeb99a7359d)) + +# [13.17.0](https://github.com/discordjs/discord.js/compare/13.16.0...13.17.0) - (2023-11-12) + +## Bug Fixes + +- Export `AttachmentFlags` and `RoleFlags` (#9924) ([efc1536](https://github.com/discordjs/discord.js/commit/efc153612136f7af884f3ed7342a80590e5a36dc)) +- **Action:** Conditionally add recipient (#9925) ([3d5d957](https://github.com/discordjs/discord.js/commit/3d5d95775b8a018a8e716e389cc4f7c0671c6361)) +- **Action:** Do not set undefined values (#9755) ([65bbed8](https://github.com/discordjs/discord.js/commit/65bbed8a0f294d869076f5ad7af6cadf0b2f20a4)) +- **types:** Fixed CachedManager constructor arguments in type (#9761) ([142db0e](https://github.com/discordjs/discord.js/commit/142db0ed8cfc2c82cc87913d3d3d04fca9a05242)) +- **readme:** Test badge svg (#9919) ([610bdaa](https://github.com/discordjs/discord.js/commit/610bdaa0f19727386f2360a1299979c25dac0314)) +- **Role:** Calculate position correctly when rawPositions are equal (#9872) ([56b481b](https://github.com/discordjs/discord.js/commit/56b481b3e07335ecd9309aa3d592ba5ef3651f02)) +- **ChannelUpdate:** Check against unknown channels (#9698) ([630b9d5](https://github.com/discordjs/discord.js/commit/630b9d51ef36b19ff555685a3aba109d84c0de21)) + +## Documentation + +- Fix `AutoModerationRuleTriggerTypes` link (#9530) ([24ac27d](https://github.com/discordjs/discord.js/commit/24ac27df4d9daf7fa69fe49d76a5a5cccc4d43e6)) + +## Features + +- **Client:** Add guildAvailable event (#9692) ([67dd30a](https://github.com/discordjs/discord.js/commit/67dd30a28a5ea83cf2aa81fe0d87f441ed74a17a)) +- **Attachment:** Add flags (#9686) ([2ac8be0](https://github.com/discordjs/discord.js/commit/2ac8be09a163d89bd546954739aa1a98a5e333e3)) +- **Role:** Add flags (#9694) ([a222e53](https://github.com/discordjs/discord.js/commit/a222e537c10e7a93facb642d492d8c9d31d5e78d)) +- **StageInstanceManager:** Add `guildScheduledEvent` to `create()` (#9024) ([5f6a82d](https://github.com/discordjs/discord.js/commit/5f6a82d349ad362d41bc63f0400c580d37872a68)) +- Support `default_thread_rate_limit_per_user` in channel creation (#9339) ([759c0b0](https://github.com/discordjs/discord.js/commit/759c0b0d46ce67f4208cdf22214d2272860f27b9)) +- User avatar decorations (#9710) ([cb11c56](https://github.com/discordjs/discord.js/commit/cb11c56a0b93c802b024cc9c8d95250ddf1a5246)) +- Support new username system (#9634) ([f9e9843](https://github.com/discordjs/discord.js/commit/f9e9843a9218903bf2ba40e2f17634d799298929)) +- **presence:** Feature parity in image resolve (#9638) ([85338ef](https://github.com/discordjs/discord.js/commit/85338ef07375249e50d0c9ef6a50a2a1ea343c02)) +- Safety alerts channel and mention raid protection (#9073) ([5057f04](https://github.com/discordjs/discord.js/commit/5057f04304eddce7b421c959c0ee98671658b2e9)) +- **GuildAuditLogsEntry:** Add missing channel property to extra (#9527) ([c5a42ed](https://github.com/discordjs/discord.js/commit/c5a42ed5ec16b5718392781786f7f9b20b0270d4)) + +## Performance + +- Linear speed position getters (#9528) ([90ca028](https://github.com/discordjs/discord.js/commit/90ca02880ab6e029c2ee2b28622a1942cfca3c69)) + +## Typings + +- **BaseButtonComponentData:** Narrow component type (#9735) ([c08230e](https://github.com/discordjs/discord.js/commit/c08230edc091a2589470536b622434a33db481e4)) + +# [13.16.0](https://github.com/discordjs/discord.js/compare/13.15.1...13.16.0) - (2023-05-06) + +## Bug Fixes + +- **Constants:** Ordering and missing information (#9500) ([53d3477](https://github.com/discordjs/discord.js/commit/53d347734fa955e77d5840f49b7f95129ef34967)) +- Miscellaneous fixes (#9445) ([21dfac9](https://github.com/discordjs/discord.js/commit/21dfac90ac214987992dd358c32a1d34f7b9d315)) + +## Features + +- Update Discord developer documentation links and add new flags (#9473) ([d867936](https://github.com/discordjs/discord.js/commit/d867936fcec5e0066574e3f21df6f33b276570da)) +- Voice messages (#9444) ([3386bab](https://github.com/discordjs/discord.js/commit/3386bab2c0f6bd111b3950bc9207193a92db7302)) +- Add `ACTIVE_DEVELOPER` user flag (#9428) ([420f379](https://github.com/discordjs/discord.js/commit/420f37993329ef27f841a01e30830767b19ec332)) +- **roleTagData:** V13 add guildConnections (#9391) ([7116151](https://github.com/discordjs/discord.js/commit/71161518cad333fa38b29db0ce0b4236d3d7d69e)) +- V13 `VIEW_CREATOR_MONETIZATION_ANALYTICS` and `USE_SOUNDBOARD` permissions (#9124) ([28a5c7b](https://github.com/discordjs/discord.js/commit/28a5c7b125420f4ca7c6699a6a14b8f7b23e9128)) +- **StageChannel:** V13 support messages (#9145) ([7cf9224](https://github.com/discordjs/discord.js/commit/7cf9224c46aaa2f8e729f98d3a951ebfb07c7010)) +- **AutoModeration:** V13 support `customMessage` (#9173) ([add14ac](https://github.com/discordjs/discord.js/commit/add14acc20558932da5992449c6a0282af99745e)) + +# [13.15.1](https://github.com/discordjs/discord.js/compare/13.15.0...13.15.1) - (2023-04-07) + +## Bug Fixes + +- **Message:** Fix permissions check in locked threads (#9338) ([a8d5325](https://github.com/discordjs/discord.js/commit/a8d5325defa781ea9df57f6a109c10f8b9b05f99)) +- **ClientUser:** Fix modifying self (#9318) ([09ca243](https://github.com/discordjs/discord.js/commit/09ca243c2f5a194a0e2f5e5baeac64a2ef4ce9dc)) +- Typo in `src/util/MessageFlags.js` (#9312) ([8f12054](https://github.com/discordjs/discord.js/commit/8f12054c06d4b87ea09f10d63341206c4bb23e66)) +- **AutocompleteInteraction:** Fix responding (#9315) ([f79a9b5](https://github.com/discordjs/discord.js/commit/f79a9b5450b6b868710f7c72fa9410123b46ee05)) + +# [13.15.0](https://github.com/discordjs/discord.js/compare/13.13.1...13.15.0) - (2023-04-02) + +## Bug Fixes + +- **ThreadChannel:** Fetch starter message properly (#9217) ([af6a0e5](https://github.com/discordjs/discord.js/commit/af6a0e5d5136424e7c70dc9813456b7e85874087)) +- **Actions:** Inject built data by using a symbol (#9204) ([df68520](https://github.com/discordjs/discord.js/commit/df685203193faeaa392c4cb7cd9e140a241e3af5)) + +## Features + +- Backport `chatInputApplicationCommandMention` (#9245) ([51c3bf1](https://github.com/discordjs/discord.js/commit/51c3bf1f54332e166dd1ca554d09cb5c197be0e4)) +- Add support for gif stickers (v13) (#9158) ([4bc25c4](https://github.com/discordjs/discord.js/commit/4bc25c40f56f79e4aef970d9b689c4329e968382)) +- V13 support `SUPPRESS_NOTIFICATIONS` flag (#9184) ([120270e](https://github.com/discordjs/discord.js/commit/120270e8dc793f2ff2622d394fcd965ee0656636)) + +# [13.13.1](https://github.com/discordjs/discord.js/compare/13.13.0...13.13.1) - (2023-02-21) + +## Bug Fixes + +- **Constants:** Enum creation error (#9155) ([224f21c](https://github.com/discordjs/discord.js/commit/224f21c9c0eb01985dc8f3752186c16cfce5f2a6)) + +# [13.13.0](https://github.com/discordjs/discord.js/compare/13.10.3...13.13.0) - (2023-02-21) + +## Bug Fixes + +- Minor forums cleanup (#9033) ([eed293f](https://github.com/discordjs/discord.js/commit/eed293f893da2ea00cc81c49b636b98066513c4b)) +- **InteractionResponses:** Spell `messages` correctly (#9080) ([123d0f1](https://github.com/discordjs/discord.js/commit/123d0f1aca109a703fd52fcff82b47cc02d57edd)) +- **ThreadChannel:** `reason` as second parameter (#9023) ([a941cb6](https://github.com/discordjs/discord.js/commit/a941cb6ec58d558016ddd19424b45f765b0536ef)) +- Import errors correctly (#9030) ([6457519](https://github.com/discordjs/discord.js/commit/64575195b511fb3e5353a192d4105326b534bcde)) +- **websocketshard:** Backport zombie connection fix (#9003) ([56e6718](https://github.com/discordjs/discord.js/commit/56e67185fc346e04e5d1adad8d7bfb932336cf93)) +- **Util:** Flatten ignoring certain fields (v13) (#8936) ([4ec3355](https://github.com/discordjs/discord.js/commit/4ec3355961b7105a417e8854ae72f4ee302690f9)) +- Backport allow deletion of ephemeral messages to v13 (#8811) ([98846cf](https://github.com/discordjs/discord.js/commit/98846cf863c76348e730e6944d4b7390148aa258)) +- **Activity:** Fix equals() not checking for differing emoji (v13) (#8842) ([eecc50b](https://github.com/discordjs/discord.js/commit/eecc50bfda89cd240dd20539234f7fc2e975daa6)) +- **escapeMarkdown:** Fix double escaping (v13) (#8799) ([caf6f66](https://github.com/discordjs/discord.js/commit/caf6f66073d6681e99dc02af3e0bdd6529366ddb)) +- Fixed TS 4.8 compatibility (#8601) ([e6ee7d8](https://github.com/discordjs/discord.js/commit/e6ee7d8374ddc157037c258b63225384c154a2e6)) + +## Documentation + +- **ThreadEditOptions:** Move info tag back to `invitable` (#9021) ([cf3c7a7](https://github.com/discordjs/discord.js/commit/cf3c7a7c545e692c56f09344d846215fe6692587)) +- Add missing `@extends` (#9028) ([1779e1b](https://github.com/discordjs/discord.js/commit/1779e1ba7e9bf7aad9a853097a841a36416d8ce6)) +- Update UserContextMenu documentation v13 (#8721) ([ea117bf](https://github.com/discordjs/discord.js/commit/ea117bfb7e04e1103eaf24208c06979ce8493129)) +- Update misleading `Client#guildMemberAvailable` event description (v13) (#8627) ([fcd52d7](https://github.com/discordjs/discord.js/commit/fcd52d7fc6b195b50bf6e5eb6e670fbd1ba5fd59)) + +## Features + +- **GuildMemberManager:** Add `addRole` and `removeRole` methods (#9108) ([fd494a3](https://github.com/discordjs/discord.js/commit/fd494a385e3c3ae6be9f4b244cd280bc173573d2)) +- **WebSocketShard:** V13 add resume url (#9078) ([0188e36](https://github.com/discordjs/discord.js/commit/0188e362836bd6350a574595dc61d2c8ab3f256a)) +- V13 `guildAuditLogEntryCreate` event (#9092) ([84d34dc](https://github.com/discordjs/discord.js/commit/84d34dc258ca2a0953f8c2a0212d8459c7c16b84)) +- **Constants:** Add auto moderation events to WSEvents (#9102) ([61fa6f4](https://github.com/discordjs/discord.js/commit/61fa6f45b43ce5dec79b9cac9398b4e619190542)) +- Role subscriptions (#9040) ([0afa405](https://github.com/discordjs/discord.js/commit/0afa405f5a967ed5d82cfeffedc84d444c034924)) +- **GuildChannelManager:** Add `addFollower` (#9050) ([86329ad](https://github.com/discordjs/discord.js/commit/86329ad66fb5055c49893e69bff4c6ba2d412d29)) +- **Guild:** Add `INVITES_DISABLED` feature support (#9051) ([69d71e9](https://github.com/discordjs/discord.js/commit/69d71e967e12b83dd6d9accfb604cdd81d1aac09)) +- **ClientApplication:** Add role connections (#9072) ([a7dc40f](https://github.com/discordjs/discord.js/commit/a7dc40f1a8a587b58c590008d11c5543637d6341)) +- **Webhook:** Add `channel` getter (#9074) ([32cdaff](https://github.com/discordjs/discord.js/commit/32cdaff7eb29cb60a721ee5967875ec64bef0e8a)) +- **GuildMember:** Add `flags` (#9098) ([d69529e](https://github.com/discordjs/discord.js/commit/d69529e3fe4266d14d5d526b95ad6b57030d5b71)) +- `applicationCommandPermissionsUpdate` event (#9121) ([c2968b5](https://github.com/discordjs/discord.js/commit/c2968b58f9c6a176ecdae4e2e5c3a95e9421c23b)) +- Backport automod (#8886) ([4287983](https://github.com/discordjs/discord.js/commit/428798374f4c3c2128b844d476627762dd45edf4)) +- **GuildAuditLogs:** Support `after` (#9012) ([f0d4264](https://github.com/discordjs/discord.js/commit/f0d42644dfeec1594baac7817bb05b0aef2be6f0)) +- Backport guild forum support to v13 (#8651) ([546ac43](https://github.com/discordjs/discord.js/commit/546ac439115f4017f01e0c02dee2ff80b789c28b)) +- Add `Message#bulkDeletable` (v13) (#8761) ([ca662b4](https://github.com/discordjs/discord.js/commit/ca662b4de82d71bf8931e277544465cb3b66062c)) +- **InteractionResponses:** Add message parameter (v13) (#8838) ([0e0851a](https://github.com/discordjs/discord.js/commit/0e0851aa18d873925a3b41c47665a15fde440939)) +- **Util:** Backport `escapeMarkdown` PRs to v13 (#8703) ([8a6588a](https://github.com/discordjs/discord.js/commit/8a6588a13203120b0d185732cd7db7ecdb9f00f7)) +- **GuildBanManager:** Add `deleteMessageSeconds` (#8575) ([ca68fc3](https://github.com/discordjs/discord.js/commit/ca68fc3f6b5dbe8708d065ffea5a89b23d4db757)) + +## Refactor + +- Move `me` and add `fetchMe()` (#9029) ([b01c81d](https://github.com/discordjs/discord.js/commit/b01c81dd72b71e6a5241dc10b72793596c7cbebf)) + +## Typings + +- **ThreadEditOptions:** Add `appliedTags` (#9022) ([6854df4](https://github.com/discordjs/discord.js/commit/6854df42183ba6fccbff3a0366170557e0152e66)) +- **widget:** Add missing `name` (#9031) ([35f6dad](https://github.com/discordjs/discord.js/commit/35f6dadebfce9ad60e360b5317267e256571a0ae)) +- Swap message reaction and emoji identifier types (#8970) ([6490580](https://github.com/discordjs/discord.js/commit/649058055a3159277a19e3173c115a67226f0ee0)) +- **GuildChannelManager:** Correct fetch return type (v13) (#8551) ([f4e8133](https://github.com/discordjs/discord.js/commit/f4e81330bf35bac0d8317dbb170312422df432fa)) + +# [13.10.3](https://github.com/discordjs/discord.js/compare/13.10.2...13.10.3) - (2022-08-22) + +## Documentation + +- Fix broken discord support link (#8485) ([11d6949](https://github.com/discordjs/discord.js/commit/11d69491e0b732bcadb54c1f39d0f6ca17d2f75f)) + +## Typings + +- Disallow some channel types from webhook creation (#8535) ([10b12cc](https://github.com/discordjs/discord.js/commit/10b12ccea65011627649ecdfc814caffa5776e14)) +- **ModalMessageModalSubmitInteraction:** ChannelId is not nullable (v13) (#8505) ([526ea74](https://github.com/discordjs/discord.js/commit/526ea74e666556ffa13bde9130bd91388bf7a2a8)) + +# [13.10.2](https://github.com/discordjs/discord.js/compare/13.10.1...13.10.2) - (2022-08-10) + +## Typings + +- **Message:** Correct `bulkDelete` return type (v13) (#8469) ([03c59e3](https://github.com/discordjs/discord.js/commit/03c59e3a837edcaa428549c8387ef4d29e3ef6e4)) + +# [13.10.1](https://github.com/discordjs/discord.js/compare/13.10.0...13.10.1) - (2022-08-10) + +## Bug Fixes + +- **ThreadChannel:** Handle possibly `null` parent (v13) (#8467) ([2a46d9f](https://github.com/discordjs/discord.js/commit/2a46d9f58e4714c8580218a3459992bbfec2bcf7)) + +# [13.10.0](https://github.com/discordjs/discord.js/compare/13.9.2...13.10.0) - (2022-08-10) + +## Features + +- **Guild:** Add `max_video_channel_users` (v13) (#8424) ([ae43bca](https://github.com/discordjs/discord.js/commit/ae43bca8b0afd8b90db7a1d99f67205b29338c2d)) + +# [13.9.2](https://github.com/discordjs/discord.js/compare/13.9.1...13.9.2) - (2022-07-29) + +## Bug Fixes + +- **MessageMentions:** `ignoreRepliedUser` option in `has()` (v13) (#8365) ([d0a4199](https://github.com/discordjs/discord.js/commit/d0a4199760b4c7fe64f558d8d4d2302873f78b0e)) +- **GuildChannelManager:** Allow unsetting rtcRegion (v13) (#8362) ([9612507](https://github.com/discordjs/discord.js/commit/96125079a23c87fe0fb3ee01a0de5a9889fc1057)) +- **ThreadChannel:** Omit webhook fetching (v13) (#8352) ([4f7c1e3](https://github.com/discordjs/discord.js/commit/4f7c1e35c38bb9f1d524406c008ffceb2cfde3db)) + +# [13.9.1](https://github.com/discordjs/discord.js/compare/13.9.0...13.9.1) - (2022-07-23) + +## Bug Fixes + +- **ApplicationCommandManager:** Allow passing 0n to defaultMemberPermissions (v13) (#8312) ([4cf0555](https://github.com/discordjs/discord.js/commit/4cf05559a2cc6c4dfc409f8aab60256e5b030bca)) + +## Refactor + +- **embed:** Deprecate addField (#8318) ([be35db2](https://github.com/discordjs/discord.js/commit/be35db2410c24fcca8b28ddfb3c1c580e7e2a22f)) +- **Presence:** Remove redundant date parsing (v13) (#8341) ([e95caa7](https://github.com/discordjs/discord.js/commit/e95caa7e4515beab627b5394d011a6b6a8ae6a18)) + +# [13.9.0](https://github.com/discordjs/discord.js/compare/13.8.1...13.9.0) - (2022-07-17) + +## Bug Fixes + +- **PermissionOverwriteManager:** Mutates user (#8282) ([4d86cf4](https://github.com/discordjs/discord.js/commit/4d86cf4ce0f56c4025533ef978417a5a71bd1b5c)) +- **GuildChannelManager:** Access `resolveId` correctly (v13) (#8297) ([beb3d8e](https://github.com/discordjs/discord.js/commit/beb3d8ec26d2dd8545b4d32a10a8bfcc4b0bc4bb)) +- **GuildChannelManager:** Edit lockPermissions (#8267) ([8fe166d](https://github.com/discordjs/discord.js/commit/8fe166dcfddaec0255872fa1d3f333399c8852e9)) +- **applicationcommandmanager:** Explicitly allow passing builders to methods (v13) (#8229) ([f457cdd](https://github.com/discordjs/discord.js/commit/f457cdd2dea53614e3547dca7cff99d2492455b5)) +- Pass in the expected query object type for application commands (#8189) ([f704b26](https://github.com/discordjs/discord.js/commit/f704b261c03fe45f100e30637c86338583f3510f)) +- Use non-global flag whilst resolving regular expressions (#8178) ([4063b90](https://github.com/discordjs/discord.js/commit/4063b90cefeba052168315b5899cbe69d11206c3)) +- **GuildStickerManager.fetchUser:** Changed guildId to guild.id (#8176) ([0e0f784](https://github.com/discordjs/discord.js/commit/0e0f784447e6915cb067a06d1f2589ac839d05f7)) +- **guildmemberremove:** Remove member's presence for v13 (#8182) ([e8d72c7](https://github.com/discordjs/discord.js/commit/e8d72c7245f61f730b09b0dfed71f270d87f2019)) +- **WebSocketShard:** Backport error handler preservation on connections (#8164) ([c198e89](https://github.com/discordjs/discord.js/commit/c198e893c9b8904c2877599473472bcf0a3eb158)) + +## Documentation + +- Add new HTTP Error Codes `50068` (v13) (#8273) ([00a7057](https://github.com/discordjs/discord.js/commit/00a705707ea5494a31e245bf010b14607dc1174f)) +- Add `MessageActivityType` (v13) (#8257) ([9cc336c](https://github.com/discordjs/discord.js/commit/9cc336c43b0a618bdd74bb4cb7ccde674d43e263)) +- **MessageInteraction:** Update `commandName` description (v13) (#8220) ([feb8e30](https://github.com/discordjs/discord.js/commit/feb8e30d2e8dc5d55961416812dac1f4232eeab0)) +- **constants:** Document missing constants (#8168) ([4ae08ad](https://github.com/discordjs/discord.js/commit/4ae08ad9efd49eaf6cbb6d88bc278aecf435b4a1)) + +## Features + +- **ApplicationCommand:** Add `min_length` and `max_length` for string option (v13) (#8217) ([a93f4b1](https://github.com/discordjs/discord.js/commit/a93f4b1ba2a08df5b5319776fe97ff9eb64476d6)) +- **interaction:** Add `appPermissions` (v13) (#8195) ([222fc9c](https://github.com/discordjs/discord.js/commit/222fc9c6792272be7a123e790f6eb13fcabdba86)) +- Partially backport perms v2 for v13 (#8162) ([125696f](https://github.com/discordjs/discord.js/commit/125696fc79df4b4d6d670acf3203955e1c300d3f)) + +## Typings + +- **GuildMemberManager:** Non-void return of `edit()` (v13) (#8187) ([631abee](https://github.com/discordjs/discord.js/commit/631abee69310d59eb4625501cde1c44f6c44a7af)) +- Add missing shard types (v13) (#8192) ([079973f](https://github.com/discordjs/discord.js/commit/079973f1cfbbbcab9e4708ba82d0034398703ec7)) + +# [13.8.1](https://github.com/discordjs/discord.js/compare/13.8.0...13.8.1) - (2022-06-23) + +## Bug Fixes + +- **VoiceChannel:** NSFW property (v13) (#8161) ([c61fc80](https://github.com/discordjs/discord.js/commit/c61fc8082a11659bb0af29058aa7d840196295f0)) +- **ModalSubmitInteraction:** Add `isFromMessage()` missing method (#8092) ([0ab2227](https://github.com/discordjs/discord.js/commit/0ab22279847340ca84f07eab0ef86176a8f3cf0e)) +- Destroy options during cleanup (#8082) ([afb18b9](https://github.com/discordjs/discord.js/commit/afb18b99b705d29720713985994de85478d33be1)) +- **AuditLog:** Default changes to empty array (#8076) ([3095f35](https://github.com/discordjs/discord.js/commit/3095f350e0f18f4812bb27350e01325dd5dfedbf)) + +## Documentation + +- `TextBasedChannel`-> `TextBasedChannels` typos (v13) (#8155) ([65444f5](https://github.com/discordjs/discord.js/commit/65444f510d33b856af2af549676bee406c1fef29)) + +## Refactor + +- Deprecate `$` prefix from `ws.properties` keys (#8095) ([3638b40](https://github.com/discordjs/discord.js/commit/3638b4021ae3da8410c5626815b7d24f75160bcb)) + +## Typings + +- **Shard#reconnecting:** Backport to v13 - Fix event name (#8126) ([70450f6](https://github.com/discordjs/discord.js/commit/70450f6873bda4b41d7bd212990c8823b93b9db6)) +- **AutocompleteOption:** Backport fix and improve types (#8078) ([613fd43](https://github.com/discordjs/discord.js/commit/613fd43fcf03d4f89ebc86f19e53bcbe624ad882)) +- **GuildChannel:** Fix type of `.isText()` method (#8061) ([0d0190a](https://github.com/discordjs/discord.js/commit/0d0190a6fdb1b4569f35b9814bae98a3556fb29a)) + +# [13.8.0](https://github.com/discordjs/discord.js/compare/13.7.0...13.8.0) - (2022-06-05) + +## Bug Fixes + +- **guildchannelmanager:** Wrong parameter in _sortedChannels call (#8011) ([876816a](https://github.com/discordjs/discord.js/commit/876816ab2a0fd890d5bcedb3d73094c37c6b4e31)) +- **websocketshard:** Deal with zombie connection caused by 4009 (#7581) ([114bcc0](https://github.com/discordjs/discord.js/commit/114bcc07a980325a9c3a04eb35ce1284b23eaefb)) +- Video quality mode data property (#7946) ([76df9fd](https://github.com/discordjs/discord.js/commit/76df9fdc451148392a7cfac83de67b8af2fe7bb6)) +- **ApplicationCommandOptionType:** Add attachment to jsdoc (#7952) ([a51420f](https://github.com/discordjs/discord.js/commit/a51420f7f851c671b8e896d987a26172749376f5)) + +## Features + +- Backport text-in-voice support to v13 (#7999) ([ddfe15b](https://github.com/discordjs/discord.js/commit/ddfe15b8723ad66ab48dcd7967c89c7484b71929)) + +# [13.7.0](https://github.com/discordjs/discord.js/compare/13.6.0...13.7.0) - (2022-05-13) + +## Bug Fixes + +- **MessageEmbed:** Fix a typo (#7906) ([ea28638](https://github.com/discordjs/discord.js/commit/ea28638a0c7cebb40aab36c01ed29fed02935540)) +- **GuildEditData:** Some fields can be null for v13 (#7633) ([816936e](https://github.com/discordjs/discord.js/commit/816936eafbe4b8caee10a15709a771919754f5ad)) +- Apply v14 fix (#7756) ([ab6c2ba](https://github.com/discordjs/discord.js/commit/ab6c2bad845d44b5d822b131e5e458a3637431c6)) +- **GuildChannelManager:** `delete` method accessing wrong id (#7771) ([c9e4562](https://github.com/discordjs/discord.js/commit/c9e4562fd58999452829501a3410da2b1709342f)) +- **GuildScheduledEvent:** Handle missing `image` for v13 (#7627) ([dfea9c2](https://github.com/discordjs/discord.js/commit/dfea9c27cef4ec7472c39675c93de985b43fee87)) +- **messagementions:** Fix `has` method for v13 (#7591) ([7a52785](https://github.com/discordjs/discord.js/commit/7a52785f7d3a0d2211b2ceff68f7152161a0b1f5)) +- Check if member has admininistrator on `moderatable` (v13) (#7578) ([13dd82d](https://github.com/discordjs/discord.js/commit/13dd82d7fa6bc5906103cf8c1f4bb7de5d3e8270)) +- **ThreadChannel:** Require `sendable` for `unarchivable` (#7555) ([49397c0](https://github.com/discordjs/discord.js/commit/49397c0ca4ec468a2046167afa64b7a82aa5e7fa)) +- Backport `MessageReaction#me` being incorrectly `false` (#7553) ([5f621c1](https://github.com/discordjs/discord.js/commit/5f621c19959e892066b23f06f0b6485b6cecdb4c)) +- **typings:** SweepStageInstances typo (#7521) ([f096069](https://github.com/discordjs/discord.js/commit/f0960698d2ef51d4586f3c89d8b7c94faf5d921b)) +- **MessagePayload:** V13 don't set reply flags to target flags (#7515) ([30baff7](https://github.com/discordjs/discord.js/commit/30baff7ecbe5fdb5bea9ed5b14a28a76922d507c)) +- **Shard:** V13 EventEmitter listener warning (#7479) ([77b8e01](https://github.com/discordjs/discord.js/commit/77b8e0191123b0e76832c642454adceab9b8ad13)) +- **MessageEmbed:** Set footer to undefined (#7358) ([bc5ddc3](https://github.com/discordjs/discord.js/commit/bc5ddc36fa2e1935ffc8e871c333f6613a5f2396)) + +## Documentation + +- **shardingmanager:** Fix type of `execArgv` option (v13) (#7863) ([43a7870](https://github.com/discordjs/discord.js/commit/43a7870b2337ebdc362640a799fe5e81cfbaf739)) +- Fix and improve localization docs (v13 backport) (#7807) ([6dcf0bd](https://github.com/discordjs/discord.js/commit/6dcf0bda05ee79baa173dce02a4f8985f6f654df)) +- **ApplicationCommand:** Fix ApplicationCommandOptionChoice (#7798) ([1040ce0](https://github.com/discordjs/discord.js/commit/1040ce0e710e0e805ad75302b9078a0230309ae8)) +- Backport version 13 fixes (#7552) ([69ba067](https://github.com/discordjs/discord.js/commit/69ba067a6512fffd2be99ad0b5db2cbfcbb19c88)) + +## Features + +- Backport (#7776) ([5165b18](https://github.com/discordjs/discord.js/commit/5165b18b85379411645ca377389b09a911fd3fc8)) +- Backport (#7787) ([3eb45e3](https://github.com/discordjs/discord.js/commit/3eb45e30b3a3b1b5624d36698b7f1af6bff3cb6d)) +- Backport (#7786) ([ab324ea](https://github.com/discordjs/discord.js/commit/ab324ea6ae042e8312e28dee1665729e6db29193)) +- Add support for localized slash commands (v13 backport) (#7766) ([022e138](https://github.com/discordjs/discord.js/commit/022e138b9a5a9038e61b5bdabade7606c9341982)) +- App authorization links and tags for v13 (#7731) ([9e4a900](https://github.com/discordjs/discord.js/commit/9e4a900e6d540ad611675ec54ba35e2b9da984dd)) +- Backport (#7777) ([6c56132](https://github.com/discordjs/discord.js/commit/6c5613255ade937384525b17f2179f4086a501f1)) +- Backport (#7778) ([ff49b82](https://github.com/discordjs/discord.js/commit/ff49b82db773f0407ac0e890897156fb52843b11)) +- Backport (#7779) ([ae7f991](https://github.com/discordjs/discord.js/commit/ae7f991e8d08222483a1e92d6740fedadc479bd5)) +- Backport (#7783) ([cedc333](https://github.com/discordjs/discord.js/commit/cedc3339401349dfa00990be204b203ef46a3545)) +- **VoiceChannel:** Support `video_quality_mode` (v13) (#7785) ([6daee1b](https://github.com/discordjs/discord.js/commit/6daee1b235fc29eb09d9dd97cbbea619225ee2e1)) +- **StageInstance:** Add support for associated guild event (#7713) ([68498a8](https://github.com/discordjs/discord.js/commit/68498a87be9436be95456768f50db638c06a6ca8)) +- **modals:** Modals, input text components and modal submits, v13 style (#7431) ([e1cdcfa](https://github.com/discordjs/discord.js/commit/e1cdcfa9a6baed1d373cc5474630d32ce38db31e)) +- Backport `Interaction#isRepliable` (#7563) ([5e8162a](https://github.com/discordjs/discord.js/commit/5e8162a1379cb3b8c02cc5b29e70911eb1389218)) +- Add methods to managers for v13 (#7611) ([9f09702](https://github.com/discordjs/discord.js/commit/9f09702854d21fd11ab3f4e2f0eec445f294130e)) +- Add `premiumSubscriptionCount` to `InviteGuild` (#7629) ([8e7d15e](https://github.com/discordjs/discord.js/commit/8e7d15e49d0b75687d4ae813d8274b7086959004)) +- **scheduledevents:** Event cover images for v13 (#7613) ([a7535a2](https://github.com/discordjs/discord.js/commit/a7535a2232c4de4553d0d2a2cee315124e1bdfaa)) +- Backport `MessageMentions` channel type fixes (#7562) ([93cdb2f](https://github.com/discordjs/discord.js/commit/93cdb2f2fa3ebde8f06cefe9de4a351b99f3b5e6)) +- Backport cache types resolving to `never` (#7561) ([611d3a7](https://github.com/discordjs/discord.js/commit/611d3a7b2f76c8be2655d8f27ec4667e6c2054cf)) +- Backport sending message flags (#7560) ([29d42ed](https://github.com/discordjs/discord.js/commit/29d42ed31959a0b5e518b46e45029b99cb15aa59)) +- **ThreadChannel:** Backport creation timestamp (#7559) ([1d97dcf](https://github.com/discordjs/discord.js/commit/1d97dcff087b75e36d8d4b20e79ec3b820868024)) +- Add custom image support to version 13 (#7557) ([679b87c](https://github.com/discordjs/discord.js/commit/679b87c4f88a7bd56bf81a9ade0fc2bf7e54495a)) +- Backport `reason` on `pin` and `unpin` (#7556) ([b231bec](https://github.com/discordjs/discord.js/commit/b231bece0e0a1600bd4e2337a2ec83c9a8df11fd)) +- **GuildPreview:** Add stickers to version 13 (#7554) ([215dfe0](https://github.com/discordjs/discord.js/commit/215dfe02d5482fcabccbc2373386eae15bdd866a)) +- Backport `sweepStickers` method (#7558) ([ee1698d](https://github.com/discordjs/discord.js/commit/ee1698d92869280dcfdbfb353712ef97dff90b56)) +- **scheduledevents:** Add image option (v13) (#7549) ([2fcf8af](https://github.com/discordjs/discord.js/commit/2fcf8af421b34b4908bb01b59cf748a1376e5535)) +- **thread:** V13 add `newlyCreated` to `threadCreate` event (#7481) ([2b3db73](https://github.com/discordjs/discord.js/commit/2b3db734dfd0e9a3cbfdd45fd3aa490b82ddaa08)) +- **commands:** Attachment options (#7441) ([5bcca8b](https://github.com/discordjs/discord.js/commit/5bcca8b97fc09d9f3149325e2b8d8bccdd61e354)) + +## Refactor + +- Deprecate v13 properties and methods (#7782) ([b9802f4](https://github.com/discordjs/discord.js/commit/b9802f4b6f25da62a0bff049ccc165cce8c9d856)) +- Remove non-breaking stuff (#7636) ([b9c5676](https://github.com/discordjs/discord.js/commit/b9c5676006a702f704e970b3027829663b9b0a65)) + +## Typings + +- Fix ModalSubmitInteraction (#7768) ([1d09ad4](https://github.com/discordjs/discord.js/commit/1d09ad4652796ecf39a3146631120d5600f36b6a)) +- **threadchannel:** Fix autoArchiveDuration types (#7817) ([7afcd95](https://github.com/discordjs/discord.js/commit/7afcd9594a5706526be20cb26f0de388b094c1b4)) +- **InteractionCollector:** Fix guild and channel types (#7624) ([7814074](https://github.com/discordjs/discord.js/commit/78140748ce4a64977426a93fd72c9e2783e5919d)) +- V13 channel create overloads fix (#7480) ([0b54089](https://github.com/discordjs/discord.js/commit/0b54089c43b60a325e02b78dd0126771ac71f746)) + +# [13.6.0](https://github.com/discordjs/discord.js/compare/13.5.1...13.6.0) - (2022-01-13) + +## Documentation + +- **interaction:** Add locale list link (#7261) ([1f4e633](https://github.com/discordjs/discord.js/commit/1f4e633ce3bd0a2398e49d3a9f6eb5ddd5e09ab9)) + +## Features + +- Add Locales to Interactions (#7131) ([233084a](https://github.com/discordjs/discord.js/commit/233084a6018e77b7f9d94446683eef38790ed277)) + +# [13.5.1](https://github.com/discordjs/discord.js/compare/13.4.0...13.5.1) - (2022-01-07) + +## Bug Fixes + +- **sweepers:** Provide default for object param (#7182) ([2dabd82](https://github.com/discordjs/discord.js/commit/2dabd82e26134b5050f694f3a9f6524cd3d0c75c)) +- **GuildMemberManager:** Nick endpoint (#7151) ([d0c3961](https://github.com/discordjs/discord.js/commit/d0c3961aef41f17773fb14d06213df3fcb7fc8d2)) +- **Permissions:** ToArray shouldn't check admin (#7144) ([fc4292e](https://github.com/discordjs/discord.js/commit/fc4292e2e9ad381eb0ed07ef5e80a4251a5c4e9d)) +- Remove deprecation warning on `Message#cleanContent` (#7143) ([7e5f16b](https://github.com/discordjs/discord.js/commit/7e5f16b6b3060820446a325f4eb06dd60faee5a9)) + +## Documentation + +- **Sweepers:** Fix typo (#7165) ([780b7ed](https://github.com/discordjs/discord.js/commit/780b7ed39f173a77fd9eae396133980826926906)) + +## Features + +- **GuildMember:** Add method to check timeout (#7146) ([baacd6b](https://github.com/discordjs/discord.js/commit/baacd6ba6979f11e1af38804df15468c29ec09e3)) +- **ClientOptions:** WaitGuildTimeout amount client option (#6576) ([2bfc638](https://github.com/discordjs/discord.js/commit/2bfc638a5cd0e4c0b2e69971d30828b51ab3c563)) + +## Refactor + +- **MessageEmbed:** Deprecate strings for `setAuthor()` (completely) and `setFooter()` (#7153) ([3496516](https://github.com/discordjs/discord.js/commit/3496516dc99149705754ed56f3e9dfe711d3926d)) +- Import timers, `process`, and `Buffer` from `node:` (#7157) ([3c62bd2](https://github.com/discordjs/discord.js/commit/3c62bd2d47dbd52b6b431014be87f584ae3d5309)) + +# [13.4.0](https://github.com/discordjs/discord.js/compare/13.3.1...13.4.0) - (2021-12-24) + +## Bug Fixes + +- **BaseMessageComponent:** Don't create new class instances (#7140) ([e6f41b5](https://github.com/discordjs/discord.js/commit/e6f41b578a62dba4a4941c342f7b9fd01b2d6254)) +- Make the followUp function error more clear (#7129) ([b763dab](https://github.com/discordjs/discord.js/commit/b763dabaa941826e635e630526ef227a16d69eec)) +- **StickerPack:** Nullify `bannerId` (#7119) ([6bb03f2](https://github.com/discordjs/discord.js/commit/6bb03f2c3450261e6c5330a9abede1bb1d33e84d)) +- Webhook typeguards should use string comparisons (#7127) ([645b3f8](https://github.com/discordjs/discord.js/commit/645b3f84f47f966e4c314bf6a9fcb216a503e6f8)) +- **Message:** Remove usage of `.deleted` (#7109) ([a0fe0ac](https://github.com/discordjs/discord.js/commit/a0fe0acbf1c0134d88d9fc519506cf33116288cc)) +- **GuildAuditLog:** Remove `Promise`s in constructor (#7089) ([9cf44d1](https://github.com/discordjs/discord.js/commit/9cf44d1c0e2cffdf285c73d151e7d8e0f5dbbb9a)) +- **ShardingManager:** Fix respawnAll not passing delay correctly (#7084) ([de61fe4](https://github.com/discordjs/discord.js/commit/de61fe485476102c106eb455d0c5e1f36fbf07df)) +- **StoreChannel:** Mark as deprecated (#7072) ([5ec542d](https://github.com/discordjs/discord.js/commit/5ec542d61fc47e6f150d96f5f4578ae2901d1cc7)) +- **InteractionCollector:** Handle thread (and parent) deletion (#7070) ([b5cd288](https://github.com/discordjs/discord.js/commit/b5cd2884b6277ac48c6d0663cf4916b249cda15b)) +- **ReactionCollector:** Check for channel.threads (#7069) ([3846f0d](https://github.com/discordjs/discord.js/commit/3846f0d97cf3ef81c578c0544e00dae3d1a5d994)) +- **GuildChannel:** Default to `this.rawPosition` in `clone()` (#7057) ([5fcda73](https://github.com/discordjs/discord.js/commit/5fcda73d9f383bb27f8b9f141921b6f0b7e25b4d)) +- Interaction channel type should be `GuildTextBasedChannels` when in guild (#6998) ([da86bd4](https://github.com/discordjs/discord.js/commit/da86bd4fa309bbf47e3b39d6669bf746cecf94da)) +- **Util:** Fix sorting for GuildChannels (#7002) ([c07207f](https://github.com/discordjs/discord.js/commit/c07207f219268010ace0dc6c35b518e990b2865b)) +- **MessageManager:** Do not use `client.emojis` (#7039) ([fd63139](https://github.com/discordjs/discord.js/commit/fd63139b41a7e97ecd633c36162c0e591df972bc)) +- **ActionsManager:** Revert to manual requires (#7034) ([0193efa](https://github.com/discordjs/discord.js/commit/0193efae714c7c8f5b6a52b27277cb65cae9971e)) +- **MessagePayload:** Prevent spread of `undefined` (#7029) ([fabd343](https://github.com/discordjs/discord.js/commit/fabd34381ce14a399204b0bf8fd1dde4bcb8628e)) +- **MessageManager:** Allow a string for `edit()` (#7033) ([54f937d](https://github.com/discordjs/discord.js/commit/54f937d82c4159d85e348dfb63b28f9f0c554805)) +- Avoid sending bot auth on token endpoints (#7022) ([7efeff4](https://github.com/discordjs/discord.js/commit/7efeff461fd542fcd50a5615320be680a2e72026)) +- **Sharding:** Properly handle errors in fetchClientValues (#6990) ([c0ba2d4](https://github.com/discordjs/discord.js/commit/c0ba2d46d0796c95598673f77f04b180280afb57)) +- **VoiceState:** Set streaming to false when the stream ended (#6992) ([fdb09cb](https://github.com/discordjs/discord.js/commit/fdb09cbe03d45f72fe3413fde0debf5a79c69824)) +- **MessageReaction:** Cache myself when `MessageReaction#me` is `true`. (#6956) ([b001e19](https://github.com/discordjs/discord.js/commit/b001e194f117ca8cfc9bcc9eb62dd7aab07988f7)) + +## Documentation + +- Deprecate `.deleted` getters (#7107) ([d43f684](https://github.com/discordjs/discord.js/commit/d43f68488e8d388fb7b2d3e49c1bf1b9721a1295)) +- **Sticker:** Fix typo (#7085) ([ee91f5a](https://github.com/discordjs/discord.js/commit/ee91f5a19cdcf15f17a80fc9a25a382b7cbcde9f)) +- **Constants:** Document missing errors (#7086) ([6e57b65](https://github.com/discordjs/discord.js/commit/6e57b65e99389eb8cbc8c2112281a9c1b7d3783a)) +- **Constants:** Adjust `GUILD_STORE` warning placement (#7083) ([23513d1](https://github.com/discordjs/discord.js/commit/23513d191727ad6c5b03ac2fd37b75db872b9792)) +- **StoreChannel:** Add deprecation warnings (#7080) ([fdba146](https://github.com/discordjs/discord.js/commit/fdba146f9bd9f2743041f6302ca5e38e26c8dc44)) +- **GuildStickerManager:** Fix create() example (#7060) ([6f58e81](https://github.com/discordjs/discord.js/commit/6f58e8122da1fe2dabc53c94cf12d65b9a414551)) +- **Invite:** Add info blocks for missing props (#7014) ([b183a8e](https://github.com/discordjs/discord.js/commit/b183a8eece6006950dd0aaf143b544be1ae500b1)) +- **MessageReference:** Fix static link (#7041) ([85e6812](https://github.com/discordjs/discord.js/commit/85e6812ce2077a8c82a600a6709ec6bc904f4285)) +- **Constants:** Fix typo "announcement" (#7016) ([a1a8ca4](https://github.com/discordjs/discord.js/commit/a1a8ca4814dc35766b897f2d825212faf088621a)) +- **README:** Add installation instruction on @discordjs/voice (#6964) ([3c857a6](https://github.com/discordjs/discord.js/commit/3c857a63632ef11a1f7aae00c98e1f1b9909bc87)) +- **Guild:** Fix setOwner() example (#6929) ([dc64541](https://github.com/discordjs/discord.js/commit/dc6454104f70e5a83518e102b448418615b184c3)) + +## Features + +- Add support for GuildScheduledEvent (#6493) ([1316fd4](https://github.com/discordjs/discord.js/commit/1316fd4c6ad47729f566d3dd088bb3c144f4bf8e)) +- **GuildMember:** Add timeouts (#7104) ([aa7c1b2](https://github.com/discordjs/discord.js/commit/aa7c1b2081eb77659afd65c2f917afbcab3a162f)) +- Export Sweepers (#7117) ([b9b60a3](https://github.com/discordjs/discord.js/commit/b9b60a37b33aed2f85ef1e6cb6ae54481e946b92)) +- Add API error code 50109 (#7112) ([55960cc](https://github.com/discordjs/discord.js/commit/55960cc77827dfd4b95b91ad1259bedd69f092ea)) +- **Client:** Add global sweepers (#6825) ([d1ef2f5](https://github.com/discordjs/discord.js/commit/d1ef2f5e8b02d9a1a9051c08c181a8ac82ec616f)) +- Add API error code 20029 (#7078) ([f410536](https://github.com/discordjs/discord.js/commit/f410536c515ed3cf5ca9b528a302dd68a0ea22f8)) +- **ApplicationCommand:** Add setX methods for easier editing (#7063) ([7f980e3](https://github.com/discordjs/discord.js/commit/7f980e38b6838eaa0537d11e4d0848660c784a0c)) +- Add API error code 50055 (#7068) ([f028aea](https://github.com/discordjs/discord.js/commit/f028aea33317b845ace2c2079ed9e8dbd4aad09c)) +- **SnowflakeUtil:** Add `timestampFrom` (#7058) ([8b200c0](https://github.com/discordjs/discord.js/commit/8b200c0fee0cadf65244b1a84ccb6f244b9bfc7e)) +- **Guild:** Add premiumProgressbarEnabled (#6887) ([552d89f](https://github.com/discordjs/discord.js/commit/552d89fd4e536745bb51ade13cf500e94b871b9f)) +- Add `UserContextMenuInteraction` and `MessageContextMenuInteraction` (#7003) ([4fe063f](https://github.com/discordjs/discord.js/commit/4fe063f0d00562b5987447a6b2b5900b64faec96)) +- **Shard:** Add eval context (#7011) ([77aff08](https://github.com/discordjs/discord.js/commit/77aff08345cd2b76ca350ba8086717623f028534)) +- **ThreadChannel:** Add `ThreadChannel#viewable` (#6975) ([db09d79](https://github.com/discordjs/discord.js/commit/db09d7942333dffad4fba875567758550d65bfef)) +- **ThreadManager:** Add slowmode option on thread creation (#6989) ([493e4f9](https://github.com/discordjs/discord.js/commit/493e4f9350a53f005416ce3d1552d3e776e42854)) +- **MessageAttachment:** Description (alt text) support (#6871) ([5e0a7d5](https://github.com/discordjs/discord.js/commit/5e0a7d51fce3b67ba5a0e573fdc00a83693ad008)) +- **ApplicationCommand:** Add support for min and max values (#6855) ([c30a818](https://github.com/discordjs/discord.js/commit/c30a818ca9cf93b5e6157d8a5caca4576eeb3222)) +- **SystemChannelFlags:** Add new flag (#6870) ([49e3ce2](https://github.com/discordjs/discord.js/commit/49e3ce21339e19912ba853f00bc2d68ab117f29f)) +- **UserFlags:** Add BOT_HTTP_INTERACTIONS (#6733) ([f43140a](https://github.com/discordjs/discord.js/commit/f43140abaceffb46bd69c487d61f71d3078649b7)) +- Add new activity flags (#6699) ([47d74eb](https://github.com/discordjs/discord.js/commit/47d74ebf810fbf07cf79fde193a77171be24e74b)) +- **ApplicationFlags:** Add message content intent flags (#6888) ([e94073a](https://github.com/discordjs/discord.js/commit/e94073a6ab6630d4b1c582b456e8118f5fdaf866)) + +## Refactor + +- **UserManager:** Move methods to the manager (#7087) ([2ed02f7](https://github.com/discordjs/discord.js/commit/2ed02f7fc773a4d44ce1ec7763ae76ab86175495)) +- **RoleManager:** Move some methods over from Role (#7096) ([1e00fc2](https://github.com/discordjs/discord.js/commit/1e00fc200173686f7fdc50405e63c894077e9d59)) +- **Guild:** Remove duplicate methods (#7100) ([717e0e9](https://github.com/discordjs/discord.js/commit/717e0e963f35b9294bc9093a42104babfd22f6fb)) +- **Util:** Replace `Util.delayFor` with `tp.setTimeout` (#7082) ([25b8491](https://github.com/discordjs/discord.js/commit/25b84912351617f42de055ff0351286a0c9425da)) +- Make `Structure#deleted` a getter to a WeakSet (#7074) ([b093750](https://github.com/discordjs/discord.js/commit/b0937502d35a6519948b7320a0cc361acf1a1755)) +- **SnowflakeUtil:** Clean up utils and improve perf (#7036) ([e59fac3](https://github.com/discordjs/discord.js/commit/e59fac3fe3ab8dac73becd6b4094ed1e0484f3e6)) +- **MessageEmbed:** Utilise an object approach for `.setAuthor()` (#6966) ([73854ee](https://github.com/discordjs/discord.js/commit/73854ee8521fe7149a72aafcba815c6efc5939d6)) +- Deprecate application command events (#6937) ([28688e2](https://github.com/discordjs/discord.js/commit/28688e27d53986478696a74fabd587268b1db5bf)) + +## Typings + +- **CategoryChannel:** Fix createChannel return type (#7138) ([1626dde](https://github.com/discordjs/discord.js/commit/1626dded5b1f7345371fe6001ddbb45d41031635)) +- **CategoryChannel:** `createChannel` should default to a text channel (#7132) ([a0a5b0e](https://github.com/discordjs/discord.js/commit/a0a5b0e4fad66833854a5e73b587022490eb52b6)) +- Make channel types a lot stricter (#7120) ([7b65a04](https://github.com/discordjs/discord.js/commit/7b65a04cb12a501628621553baa4de2486be1aab)) +- Forward cache types to collector filters (#7126) ([77489b9](https://github.com/discordjs/discord.js/commit/77489b90fcc471b809f48fe30398d2df0b416686)) +- Fix possibly `null` message properties (#7111) ([bc6a6c5](https://github.com/discordjs/discord.js/commit/bc6a6c539f6d2ae86f73c64b4c8b962d8f208063)) +- Use mapped enums instead of overloads (#7088) ([49f9a18](https://github.com/discordjs/discord.js/commit/49f9a1802023d89fc16c7f7f521742f952cfa095)) +- **MessageComponentInteraction:** Ensure `component` is not `null` (#7099) ([2ce244b](https://github.com/discordjs/discord.js/commit/2ce244b502293c07ff1c3e929b2afb861e341d88)) +- **GuildAuditLog:** Strengthen types (#7090) ([5a5c045](https://github.com/discordjs/discord.js/commit/5a5c045534cb1b79a5b1165eb13ecf7b9585c808)) +- **Message:** `guild` should be non-null when message is in guild (#6933) ([1230bee](https://github.com/discordjs/discord.js/commit/1230bee9bc81041eb4c034c99b3ab9904143a125)) +- Improve audit logs' typings (#6647) ([b6b4570](https://github.com/discordjs/discord.js/commit/b6b45704829c1439557409a5e1935b856e76326e)) +- **Interaction:** Narrow `memberPermissions` (#7054) ([01f8d1b](https://github.com/discordjs/discord.js/commit/01f8d1bed564a07d40b184dc7ff686a895ddda31)) +- **ApplicationCommandManager:** Deprecate old `*Data` type usages and allow camel cased dapi types to be used (#6959) ([2c91c48](https://github.com/discordjs/discord.js/commit/2c91c488e8d00444ec0a14049654cdb496f2e757)) +- **WebhookMessageOptions:** Disallow stickers (#7012) ([099536e](https://github.com/discordjs/discord.js/commit/099536ee600f84e1734443b7d12dbd7474432dcd)) +- Remove unneeded collector types (#7008) ([c1f2fe2](https://github.com/discordjs/discord.js/commit/c1f2fe29efc7f025c01fcb0d5f123be766778569)) +- Make event emitters use mapped event types (#7019) ([48555cb](https://github.com/discordjs/discord.js/commit/48555cb8ebb151c1c336849eef638b5d31783b0a)) +- **ApplicationSubcommandData:** Allow `autocomplete` to be `true` (#6981) ([ecc61f3](https://github.com/discordjs/discord.js/commit/ecc61f3c7469cc9e6be0512dc889871335269c72)) +- Fix interaction typeguards (#6976) ([06cd16f](https://github.com/discordjs/discord.js/commit/06cd16fe970543473fdf139e9e7cf061d3ee5bf7)) +- Strengthen autocomplete option types (#6950) ([7630158](https://github.com/discordjs/discord.js/commit/7630158f598716cbcc8d5a8abf084c20e2c30928)) +- Fix cache type fallback types (#6961) ([9f240ea](https://github.com/discordjs/discord.js/commit/9f240ea0d14aea50b97ee59440721359226da4cd)) +- Unify ApplicationCommandManager#create overloads (#6970) ([8e881d2](https://github.com/discordjs/discord.js/commit/8e881d2b9611a3786db6f5e95f25439e0a82f22c)) +- **Events:** Rest events can be emitted on BaseClient (#6936) ([c297829](https://github.com/discordjs/discord.js/commit/c297829d54a801fdb1a4cb3350e223f3c6a5e9e9)) + +# [13.3.1](https://github.com/discordjs/discord.js/compare/13.3.0...13.3.1) - (2021-11-01) + +## Bug Fixes + +- Assert channel types in message actions (#6919) ([9bd3689](https://github.com/discordjs/discord.js/commit/9bd3689fb1273956533a2d110cfc72407c58b832)) +- **MessageEmbed:** Only compare image urls in #equals (#6926) ([95d2a4d](https://github.com/discordjs/discord.js/commit/95d2a4d35ef30d83a2e9ca82b88c978f35c5e1e0)) +- Correctly access guild IDs inside managers (#6927) ([2d9ffb8](https://github.com/discordjs/discord.js/commit/2d9ffb8c5b1aa4f510b3448ea0eb1400ad6b85b9)) + +## Documentation + +- **README:** Use correct capitalization of npm (#6930) ([bb245b7](https://github.com/discordjs/discord.js/commit/bb245b7b35f9614944969d98d3f115ebba8b1b1e)) + +## Typings + +- Improve toJSON methods for message components & embeds (#6925) ([204aee7](https://github.com/discordjs/discord.js/commit/204aee799acf08ac5b5c782a7a602c25db19354d)) + +# [13.3.0](https://github.com/discordjs/discord.js/compare/13.2.0...13.3.0) - (2021-10-29) + +## Bug Fixes + +- Handle message bulk delete and thread delete in collectors (#6902) ([d6685b1](https://github.com/discordjs/discord.js/commit/d6685b1c5097377b8228b32ff05f1e5553051417)) +- **ApplicationCommandManager:** Update guild command cache on c/u/d (#6841) ([f169c8f](https://github.com/discordjs/discord.js/commit/f169c8fe460ef2be6f38d6ee73c55d8b4182e3b7)) +- **TextBasedChannel:** Return the cached message instead of clone it (#6877) ([ceaf738](https://github.com/discordjs/discord.js/commit/ceaf738d2efc4b482c8a1fc5b486df99b1d0f037)) +- **MessageComponentInteraction:** Component getter is not null anymore (#6835) ([7621e9d](https://github.com/discordjs/discord.js/commit/7621e9da4c9c5f501131d64aaa1a3a16c3b985db)) +- `PartialGuildMember#id` is not null (#6840) ([4dff279](https://github.com/discordjs/discord.js/commit/4dff279a6f88612db9283851fba8850a2d6c65fe)) +- **Webhook:** Resolve source guild only if cached (#6834) ([d193d04](https://github.com/discordjs/discord.js/commit/d193d04cea862e2db84ac40226cfdbdb39be46d5)) +- **AllowedImageSizes:** Add new image sizes (#6844) ([ef01b84](https://github.com/discordjs/discord.js/commit/ef01b84fa8c8933a496528da8eeeb346cbf41ea4)) +- **MessageReaction:** Prevent event double fire from uncached messages (#6818) ([267a4b3](https://github.com/discordjs/discord.js/commit/267a4b3f68fa81629a083ebf04f7e49b5579ae86)) +- **Guild:** Guild.available is never set on new joins (#6769) ([29667c9](https://github.com/discordjs/discord.js/commit/29667c96e52a9f0b1e499fa6c21d9fe80e06bb37)) +- **Types:** Export more types (#6808) ([b474677](https://github.com/discordjs/discord.js/commit/b47467755cb5d1dd779d79ad86eb678bb13541e9)) +- **GuildBanManager:** Send reason in the headers instead of json body (#6800) ([bfb89de](https://github.com/discordjs/discord.js/commit/bfb89de864fd5dc4cbb654f6259f802ee21c9a0e)) +- **User:** Don't generate the banner URL when not cached (#6783) ([0d599a1](https://github.com/discordjs/discord.js/commit/0d599a1a7680fc4a35b5f44ba0c3b9aeccccbfaf)) +- **GuildMember:** More explicit partial check (#6760) ([b1656bf](https://github.com/discordjs/discord.js/commit/b1656bfb4f72819512fc75d5c052d2982f0b9683)) +- **Role:** Check for presence of icon and unicode_emoji before patching (#6780) ([e31c5ca](https://github.com/discordjs/discord.js/commit/e31c5ca1a88a32e425f9e28abbdfd66d4309c5c6)) + +## Documentation + +- **Constants:** Document missing autocomplete interaction constants (#6916) ([aa4d055](https://github.com/discordjs/discord.js/commit/aa4d05504f2532f946e83bf06f4527bbc0e54a89)) +- **InteractionCollector:** Add info block about being prone to always running (#6906) ([5d987ee](https://github.com/discordjs/discord.js/commit/5d987ee56ebe4839cd5737001030ef6321d9dd26)) +- **GuildStickerManager:** Fix create() example (#6900) ([bdd841a](https://github.com/discordjs/discord.js/commit/bdd841a1e7989769804f61ef000ffce8b4beb088)) +- **InteractionResponses:** Move embed var position in example (#6896) ([8806039](https://github.com/discordjs/discord.js/commit/88060395d198cd4f43de434aea6efb7ca93ea221)) +- **Application:** Rename Oauth2Application to Application (#6891) ([76856b9](https://github.com/discordjs/discord.js/commit/76856b967af1f9d467451b229822b8a03d76e29f)) +- **Util:** Deprecate `.removeMentions()` (#6866) ([b6c9fd6](https://github.com/discordjs/discord.js/commit/b6c9fd691f5e11012e2a75079abe5961c8cc89cd)) +- Correct tags used for objects (#6846) ([f7b7aac](https://github.com/discordjs/discord.js/commit/f7b7aac8b6fdd0ff66801ebc4de7773db4737523)) +- Redirect to events correctly (#6845) ([38cc89e](https://github.com/discordjs/discord.js/commit/38cc89e5ae02b4a2fae51d3df96f7bbb48754755)) +- Typos, consistency and grammar fixes (#6811) ([c44ea50](https://github.com/discordjs/discord.js/commit/c44ea50157cecc9495df44a952fc0400a6f56e26)) +- **Message:** Specify `Snowflake` in return type of `awaitReactions()` (#6822) ([4354c37](https://github.com/discordjs/discord.js/commit/4354c37762663e135e7088d405989542200829dc)) +- Replace `FetchOwnerOptions` type definition (#6814) ([b030130](https://github.com/discordjs/discord.js/commit/b030130df179cb68749905248f280108c6a2956a)) +- Remove dangling reference (#6810) ([d57ec7a](https://github.com/discordjs/discord.js/commit/d57ec7ab68a7ef62f0410888bac8d57bfa490a8b)) +- **InteractionCollector:** Remove repeated "the" (#6802) ([b1b9c83](https://github.com/discordjs/discord.js/commit/b1b9c83df0683ac3780316ec62b9621571102613)) +- **MessagePayload:** Change the typo of "wether" to "whether" (#6771) ([d32956c](https://github.com/discordjs/discord.js/commit/d32956c6b70a3a03c431d5f761c058072999289a)) + +## Features + +- **ThreadMemberManager:** Allow individual members to be fetched (#6889) ([14716df](https://github.com/discordjs/discord.js/commit/14716df6b62b35f3a09243ba12242db9dc798aa7)) +- Add support for autocomplete interactions (#6672) ([ddf759c](https://github.com/discordjs/discord.js/commit/ddf759c8117e7a00702d444f5b5f0c2257189b09)) +- **MessageEmbed:** Add #equals (#6885) ([fae4abf](https://github.com/discordjs/discord.js/commit/fae4abf2f7071425639e8d1ea1a8598403fa2a07)) +- **StartThreadOptions:** Default autoArchiveDuration to channel's defaultAutoArchiveDuration (#6278) ([740d3f0](https://github.com/discordjs/discord.js/commit/740d3f006ef637709e3026f90fe72f93b8397229)) +- Add `rtcRegion` to `GuildManager#create()` (#6858) ([399e720](https://github.com/discordjs/discord.js/commit/399e720b92c11539f4d16a13e1b8190f136da6cc)) +- Add typeguards to webhooks (#6850) ([e0afcad](https://github.com/discordjs/discord.js/commit/e0afcadda4bf70497b327cd3b3372688ba03422a)) +- **GuildChannelManager:** Add 'rtcRegion' option to 'create' method (#6849) ([487d32d](https://github.com/discordjs/discord.js/commit/487d32d303c340b1609b0fe6b829a5f4fe001ef0)) +- **Permissions:** Add checkAdmin to permission overwrite checks (#6847) ([7513b45](https://github.com/discordjs/discord.js/commit/7513b4528ca1b6cf03b8af147feb73ea42a4f8e6)) +- **Interaction:** Add `isApplicationCommand` check (#6801) ([6898fa3](https://github.com/discordjs/discord.js/commit/6898fa3b37bf5248c85417f145dc377b4c0ebc82)) +- **CommandInteraction:** Add toString method (#6793) ([bd48e6d](https://github.com/discordjs/discord.js/commit/bd48e6df844fd535949937c3603629413d422526)) +- **Client:** Add apiResponse and apiRequest events (#6739) ([26f927b](https://github.com/discordjs/discord.js/commit/26f927b9fe338f2f3dc413f46122532608a5a080)) +- **ModuleImporter:** Implement import module compatible with bundlers (#6709) ([d399a28](https://github.com/discordjs/discord.js/commit/d399a28323fbcdc8c3e94f10b97f47e0dfc61f7a)) + +## Refactor + +- Move Guild setPositions methods to managers (#6875) ([e12a5b6](https://github.com/discordjs/discord.js/commit/e12a5b6a0cfb4987cc504369a648e3f81ce8257e)) +- Remove gen-esm-wrapper dependency (#6884) ([b278884](https://github.com/discordjs/discord.js/commit/b27888455f811891ec652936b9b3292abdc05955)) +- Fix typos (#6852) ([672baa4](https://github.com/discordjs/discord.js/commit/672baa49e66bb1a6e757ec839cccc1c982063679)) +- **GuildManager:** Remove redundant check (#6859) ([579569a](https://github.com/discordjs/discord.js/commit/579569ae18d5a2dbcb39ad5e5adfe486315467ea)) +- Remove redundant user agent parsing (#6820) ([460df9e](https://github.com/discordjs/discord.js/commit/460df9eb4df78b502a1cbbbde65dbdfd3c46f5af)) +- Remove unnecessary checks (#6777) ([e24209a](https://github.com/discordjs/discord.js/commit/e24209a8b1f02d64eb2fb2a510be7a0ad24d16a8)) +- **Role:** Move initialization of delete prop out of _patch (#6776) ([872e7a5](https://github.com/discordjs/discord.js/commit/872e7a59b2c1b891c4d1c426a4a449a1b9353500)) + +## Typings + +- **fix:** BaseCommandInteractionOptionResolver and CommandInteraction (#6910) ([673c03f](https://github.com/discordjs/discord.js/commit/673c03f7cf55379ed1cf7fafed3b81dbdde3a343)) +- **Constants:** Remove deleted properties from Package (#6908) ([7be9170](https://github.com/discordjs/discord.js/commit/7be9170659d73685455f0f942733737305217797)) +- **Shard:** Eval returns a promise resolving with T instead of T[] (#6901) ([14d9a99](https://github.com/discordjs/discord.js/commit/14d9a9901bc03873560d729e7789ac043891c2f0)) +- **ApplicationCommandManager:** Add missing overload for `fetch` (#6904) ([ee93a27](https://github.com/discordjs/discord.js/commit/ee93a27e15058a4366dda18e7befcd2f6dd7aa91)) +- **TextBasedChannel:** Text channel interaction collectors should have `message` option (#6903) ([91a432e](https://github.com/discordjs/discord.js/commit/91a432e49d4d431583de15ad49f5c48c1f88f4ce)) +- Cache types cleanup (#6867) ([b2836da](https://github.com/discordjs/discord.js/commit/b2836daafeac0da908c72938e7e8a79629569a69)) +- Allow message cached props to be narrowed (#6838) ([c3948f8](https://github.com/discordjs/discord.js/commit/c3948f82532fe3d03bb0fa205a0a9a0afdadcfac)) +- **CommandInteractionOptionResolver:** Allow narrowing of `getMember()` (#6831) ([e8b6997](https://github.com/discordjs/discord.js/commit/e8b69974dcb0e97773679eac04ed0d8918d0c451)) +- **BaseMessageComponent:** Remove third parameter of `create()` (#6833) ([d27fddb](https://github.com/discordjs/discord.js/commit/d27fddbf9a39c530cee123a08c8946429578f7e2)) +- Message component cached props narrowing (#6809) ([b541d0a](https://github.com/discordjs/discord.js/commit/b541d0a524ea7a8a6d2ab16c92f8ec5d4b100ca6)) +- **ApplicationCommandOptionData:** Remove required on subcommands (#6790) ([5566404](https://github.com/discordjs/discord.js/commit/5566404850029cc6e17d96695ee4ff8f3614e143)) +- **Integration:** Add `IntegrationType` values (#6815) ([187581d](https://github.com/discordjs/discord.js/commit/187581dd84a9a33662902b0ee12e63b0f16c4cc4)) +- **WelcomeChannelData:** Allow store channels (#6778) ([45ebea3](https://github.com/discordjs/discord.js/commit/45ebea3216b8013969b74ecfbb06de3d43c09385)) +- Make embed author and footer props `name` and `text` required (#6779) ([a84e51b](https://github.com/discordjs/discord.js/commit/a84e51b767c47ea06bd30fb490931f700c810952)) + +# [13.2.0](https://github.com/discordjs/discord.js/compare/13.1.0...13.2.0) - (2021-10-05) + +## Bug Fixes + +- **AllowedImageSizes:** Add new image sizes (#6754) ([d0025be](https://github.com/discordjs/discord.js/commit/d0025beb7b1ee6611f4315be91b38788c428f1c1)) +- **User:** Compare flags in #equals (#6750) ([00e1e26](https://github.com/discordjs/discord.js/commit/00e1e2673b86e0041f2bebab7b3ced5722f450bb)) +- **VoiceState:** Patch streaming value (#6747) ([7eec061](https://github.com/discordjs/discord.js/commit/7eec06145a141d167afc7814f3cfd9e06eb292e6)) +- **Message:** Avoid overwriting properties in _patch (#6738) ([a8c21cd](https://github.com/discordjs/discord.js/commit/a8c21cd754d634b4d40047f85264528681a61b41)) +- **ReactionCollector:** Only call the filter function once (#6734) ([d15dd5f](https://github.com/discordjs/discord.js/commit/d15dd5f07dab00e8a31f0a37b1e60ea4017871d0)) +- **Shard:** Use provided timeout when respawning (#6735) ([905d100](https://github.com/discordjs/discord.js/commit/905d100d4def974223a128c6276d4a5833c04955)) +- **Role:** ToJSON() throwing due to permission bigints (#6724) ([9e421f6](https://github.com/discordjs/discord.js/commit/9e421f6ccf09230769740e069590fb8937f766b9)) +- Don't patch set data with undefined (#6694) ([9eb9591](https://github.com/discordjs/discord.js/commit/9eb9591473902a7608aed9c1927690c4445a6fb9)) +- **Invite:** #guild never resolving into a Guild (#6742) ([b76bb8a](https://github.com/discordjs/discord.js/commit/b76bb8a409c63aef9279acf5c1f60e846131f755)) +- **GuildManager:** Add missing types and converts (#6683) ([cdf65f7](https://github.com/discordjs/discord.js/commit/cdf65f74e1e9d22d405617521d1e6711493ca120)) +- **Util:** Default `animated` to false when omitted on resolvePartialEmoji (#6725) ([8d80fec](https://github.com/discordjs/discord.js/commit/8d80fec86d39fc640fd746cc03e6270cd574c0cf)) +- **Message:** Throw error on missing channel (#6581) ([60aa9ae](https://github.com/discordjs/discord.js/commit/60aa9ae478597caf66d5891ff6ca4d7b4336bcba)) +- **CachedManager:** Return updated data when cache is false (#6685) ([8426770](https://github.com/discordjs/discord.js/commit/84267708659e3e9bb2f8eb3b08d8923f235e8953)) +- **GuildEmoji:** Cache restricted roles and author data (#6675) ([60b8ba6](https://github.com/discordjs/discord.js/commit/60b8ba6b865ba02428d7926998af72cdaa17ea5d)) +- **Constants:** Allow undefined size (#6686) ([d3da833](https://github.com/discordjs/discord.js/commit/d3da83368def207585bce9ea95564d79b5097a55)) +- ***RoleManager:** Create set of role ids correctly (#6674) ([f8aa4bd](https://github.com/discordjs/discord.js/commit/f8aa4bd4705ee3bf7892670b944516d01146580f)) +- **Shard:** Eval promise never resolves (#6649) ([5070d23](https://github.com/discordjs/discord.js/commit/5070d23914c13814a98cf8ea560853a82b226f94)) +- **xxxable:** Follow more properly with discord behavior (#6551) ([5d87398](https://github.com/discordjs/discord.js/commit/5d87398f9fc57915d5447842b4788f0c80642de0)) +- Allow null to be passed in order to reset icon/avatar (#6646) ([6033506](https://github.com/discordjs/discord.js/commit/603350645d0fe9d96b763d169215d15b3f4f71b1)) +- **Message:** Pinnable returning false in non-DEFAULT messages (#6585) ([3183b11](https://github.com/discordjs/discord.js/commit/3183b1166a8c96f8864f7307710f88193217a773)) +- **threadMembersUpdate:** Fixed typo (#6589) ([8826e9f](https://github.com/discordjs/discord.js/commit/8826e9ffbcc8990dbebe3ccdf6e65241ab4c863c)) +- **ThreadChannel:** FetchStarterMessage bug (#6584) ([08edc0b](https://github.com/discordjs/discord.js/commit/08edc0b1db52992b2a2f8f6012a6001fb4336f38)) +- Await message component collectors should return component interactions not collectors (#6562) ([f49f70a](https://github.com/discordjs/discord.js/commit/f49f70a4ebacf657f22d73043e3a504710821249)) +- **GuildChannel:** Fix manageable method for voice-channels (#6447) ([9301c9b](https://github.com/discordjs/discord.js/commit/9301c9b42085e860f49a322879b21b923e23a4d7)) +- **MessageAttachment:** Re-assign name (#6518) ([8a8c69a](https://github.com/discordjs/discord.js/commit/8a8c69a2575b9afc18fdb46a03424e7029499d17)) +- **UserUpdateAction:** Rely on client.user when ids match (#6511) ([1418649](https://github.com/discordjs/discord.js/commit/141864917ac920a081df6f6b34c13ba83e660bbf)) +- **Util:** Allow empty strings in splitMessage (#6437) ([d6e6244](https://github.com/discordjs/discord.js/commit/d6e6244336ccdcdac9a06ab453debe76b13c9bde)) +- **BaseClient:** Remove selfbot ability (#6429) ([9a833b1](https://github.com/discordjs/discord.js/commit/9a833b1e0eb638c60c4abbb9255ed64a170e4679)) +- **Sticker:** Rename method correctly to _add (#6421) ([2c449b6](https://github.com/discordjs/discord.js/commit/2c449b6b48f5cbc88e666afa852055b873994ca5)) +- **Message:** Fix typo (#6435) ([ecb6e50](https://github.com/discordjs/discord.js/commit/ecb6e50b46e627e3217107d662dd19c64527976d)) + +## Documentation + +- FetchReply info + example (#6753) ([8bc1ece](https://github.com/discordjs/discord.js/commit/8bc1ece98ea59c90cd40b4935bafb3a523d3eef5)) +- **GuildMemberUpdateAction:** Event doesn't get emitted on user update (#6752) ([1db3e76](https://github.com/discordjs/discord.js/commit/1db3e760544ff0ac01bb53a7ae5d55013367402f)) +- Better links for `.toJSON()` of button and select menu (#6745) ([6e5c768](https://github.com/discordjs/discord.js/commit/6e5c768379c7f573aac412c6a3140649d03c1540)) +- Undocument private constructors (#6732) ([34b2ad0](https://github.com/discordjs/discord.js/commit/34b2ad0d8ee39eb9cc964a4334a803b2ab48cae5)) +- **Message:** Fix return type for `reply` (#6720) ([3f11009](https://github.com/discordjs/discord.js/commit/3f1100976f8790ffd1a92c78554111cf4a9bd09f)) +- **CommandInteractionResolvedData:** Fix key type (#6729) ([466e796](https://github.com/discordjs/discord.js/commit/466e796a1d2a9e2d3d8bb1a5820cf35eda0a1c40)) +- **EmojiResolvable:** Update description of typedef to remove ambiguity (#6708) ([7cba676](https://github.com/discordjs/discord.js/commit/7cba67620ebba8457863bdea473ee5df7c15e6b6)) +- **ApplicationCommandPermissionsManager:** Fix example set method (#6658) ([839974c](https://github.com/discordjs/discord.js/commit/839974ca432c70d57e82e9b47334f743e0c20281)) +- **Shard:** Point to correct events (#6641) ([b9a4899](https://github.com/discordjs/discord.js/commit/b9a489949166775fe5ccc72e73beae37f6d7e886)) +- **VoiceChannel:** Deprecate editable (#6613) ([88e2622](https://github.com/discordjs/discord.js/commit/88e2622ddebb8cacd264833ceb371e2fdbe512d5)) +- **PermissionOverwriteManager:** Correct `@returns` of delete (#6632) ([3c3522a](https://github.com/discordjs/discord.js/commit/3c3522ae8a73c6e516294114187f26bd06f98fc7)) +- **MessagePayload:** Correct return type of `resolveFile()` (#6605) ([ea6a57e](https://github.com/discordjs/discord.js/commit/ea6a57e927189b75d647f252f05efd4ac4d87ffa)) +- **MessageButton:** Fix info tag (#6590) ([db73cf9](https://github.com/discordjs/discord.js/commit/db73cf925546cfe5da7cfe1eaa904341734491c5)) +- **WidgetMember:** Fix typo for deaf (#6564) ([33f6f82](https://github.com/discordjs/discord.js/commit/33f6f8211f4c2b52a396f9f6b23d1ee0b253f808)) +- **Constants:** Fix interaction type link (#6558) ([29d5fd1](https://github.com/discordjs/discord.js/commit/29d5fd163c62ff03aa642f111972914fdeed3669)) +- Fix JSDoc for `ClientUser#edit` (#6554) ([34024f5](https://github.com/discordjs/discord.js/commit/34024f5ef6192fa0da5b7d6aa7e2d219066ad9b0)) +- **Util:** Correct `@param` for `cleanContent()` (#6531) ([b89280a](https://github.com/discordjs/discord.js/commit/b89280a1dd19513b06991aae1d3b720aa3a1c542)) +- **Formatters:** Fix typo of TimestampStyles (#6523) ([7d4a40a](https://github.com/discordjs/discord.js/commit/7d4a40a26d1ecbebfd654fb74e99214c46dbbced)) +- **GuildChannelCreateOptions:** Fix #type type (#6502) ([4bfd5d3](https://github.com/discordjs/discord.js/commit/4bfd5d3e74e61ae65e7e0e66abdb1365f3a5ee72)) +- **ThreadManager:** Fix typo (#6485) ([8a95211](https://github.com/discordjs/discord.js/commit/8a9521123086e072c664512128b46209b2f00e06)) +- Fix wrong type being displayed in docs (#6504) ([9ca10cc](https://github.com/discordjs/discord.js/commit/9ca10cce06d86680236bc74367f524bb3708d8e6)) +- **MessageManager:** Fix typo (#6482) ([70cc029](https://github.com/discordjs/discord.js/commit/70cc0295f833cd988ea627b37d20536f73e21630)) +- **MessageReference:** Add possible message types (#6464) ([93a83c2](https://github.com/discordjs/discord.js/commit/93a83c2cf7c8f973b62242f8440fa0527b73c027)) +- **ApplicationCommandType:** Add DAPI link (#6463) ([17b4079](https://github.com/discordjs/discord.js/commit/17b407935bcb66881433fc528bc85379bf17ca81)) +- **BufferResolvable:** Add warning for URL input (#6451) ([16493e6](https://github.com/discordjs/discord.js/commit/16493e65fd3e2b9a49afbdd58603bd43f3a4005a)) +- **Formatters:** Use id over ID (#6439) ([84bb4f4](https://github.com/discordjs/discord.js/commit/84bb4f415313282d606b853abda8e0dc698e8f7b)) +- **RoleManager:** Error in examples (#6416) ([759faa4](https://github.com/discordjs/discord.js/commit/759faa4174b82cadc4ff7138a53b10143485e7e3)) +- Rename implementation of deferReply (#6412) ([615afab](https://github.com/discordjs/discord.js/commit/615afab8bba40efef88d232c9da8397d66fb5f17)) + +## Features + +- Add support for role icons (#6633) ([7129965](https://github.com/discordjs/discord.js/commit/7129965423e9fb333ca93cecba54b588073873fd)) +- **Interaction:** Add memberPermissions (#6741) ([28d96e3](https://github.com/discordjs/discord.js/commit/28d96e344bb4b4d9dfb7c9b41a04c95c1eecbd25)) +- **CategoryChannel:** Add createChannel shortcut method (#6614) ([3eacf7a](https://github.com/discordjs/discord.js/commit/3eacf7a58785db0639aa38ac4fd455f3b318d4f5)) +- Allow webhooks to fetch, edit and delete messages in threads (#6695) ([107822d](https://github.com/discordjs/discord.js/commit/107822d28d9de04f6c14fea74647c46fe2fd1016)) +- **Threads:** Update permissions and fix getters (#6466) ([10478ad](https://github.com/discordjs/discord.js/commit/10478ad14850123625a551b5c26143aa32313ab8)) +- **PartialGroupDMChannel:** Add recipients & fix name (#6713) ([2803db6](https://github.com/discordjs/discord.js/commit/2803db683defe73a8b24a9f3c98d7f90d9605e5c)) +- **GuildMember:** Add guild avatars (#5696) ([dfd7b40](https://github.com/discordjs/discord.js/commit/dfd7b403a932b2e779b0b1619ebd701a86f70d00)) +- **MessageAttachment:** Add support for ephemeral property (#6652) ([c5db0ff](https://github.com/discordjs/discord.js/commit/c5db0ff60600875534b8bd04666ec99770497870)) +- **ApplicationCommand:** Add support for channel_types (#6640) ([3b14883](https://github.com/discordjs/discord.js/commit/3b14883e349c23a15aec225bb133ce49ed440817)) +- **UserManager:** Allow #fetch to take UserResolvable (#6677) ([a06a87a](https://github.com/discordjs/discord.js/commit/a06a87a7c49db29b108b77db82cf8e6f4346ef19)) +- Add api error code 50101 (#6663) ([42fdcaa](https://github.com/discordjs/discord.js/commit/42fdcaa1da65f097ef441beee5062f78ae03dfda)) +- Add support for API command types in `ApplicationCommandManager` (#6621) ([ecd637f](https://github.com/discordjs/discord.js/commit/ecd637f7d6174d4c8e86c8eb8e782eb6a197dd6e)) +- **Permissions:** Add `START_EMBEDDED_ACTIVITIES` (#6622) ([66a90d3](https://github.com/discordjs/discord.js/commit/66a90d3f8903c7dbe17851f7120a06f0e1f2ee96)) +- **Integration:** Add missing props and fix docs/types (#6623) ([caa3b60](https://github.com/discordjs/discord.js/commit/caa3b60c30a8ab13d195e084331889aed820a389)) +- Default values for setX boolean methods (#6619) ([8add4b0](https://github.com/discordjs/discord.js/commit/8add4b08f5e93ff690454b8f9673f2ad4a678841)) +- Add api error code 30042 (#6635) ([183dbd7](https://github.com/discordjs/discord.js/commit/183dbd7e533f17ae3375f42fd95cbaf3ea06bffd)) +- Give removed `MessageReaction`s on `messageReactionRemoveAll` event (#6607) ([be8912a](https://github.com/discordjs/discord.js/commit/be8912a4219d1c1aa59a8060707973e567b7b5a3)) +- **ApplicationCommand:** Add version property (#6603) ([f866512](https://github.com/discordjs/discord.js/commit/f866512e8435e03012222298af09addefb605451)) +- **MessageTypes:** Add CONTEXT_MENU_COMMAND (23) (#6425) ([d81590d](https://github.com/discordjs/discord.js/commit/d81590d566f7252832acfa97976343f551405848)) +- Add api error code 160002 (#6566) ([d16ada9](https://github.com/discordjs/discord.js/commit/d16ada97087e0324134484c9c0724b52a2839bdf)) +- **ApplicationCommand:** Add #equals (#6414) ([581921f](https://github.com/discordjs/discord.js/commit/581921f8b7152a009cb3bd0496627665b7e3442b)) +- **Threads:** Add support for invitable in private threads (#6501) ([a693254](https://github.com/discordjs/discord.js/commit/a6932546e2ed919bf130a919a597b4f31ef35307)) +- **BaseGuildTextChannel:** Export `BaseGuildTextChannel` (#6527) ([fc51f61](https://github.com/discordjs/discord.js/commit/fc51f61f0cdc66087e918165646aee4be74e6e56)) +- **User:** Banners and accent colors (#6117) ([839c6da](https://github.com/discordjs/discord.js/commit/839c6da03d0cc24b9023d807ba53c81704b9cb72)) +- **MessageAttachment:** Allow files to be marked as spoilers (#6509) ([96e26c4](https://github.com/discordjs/discord.js/commit/96e26c428d7745b14908d56a96b635226471d699)) +- **ThreadChannel:** Add fetchStarterMessage (#6488) ([705c5a1](https://github.com/discordjs/discord.js/commit/705c5a1c17bc3ba31f03f7bd6831e4c50dcbddd0)) +- **Message:** Add method to resolve a component by id (#6484) ([57b94b9](https://github.com/discordjs/discord.js/commit/57b94b9adf0d7444f494190fc2c8a29d44f1c5eb)) +- Set methods for MessageActionRow and MessageSelectMenu (#6490) ([fb50dd9](https://github.com/discordjs/discord.js/commit/fb50dd984178b21375928431fb106f3ba5ed91ee)) +- Export BaseCommandInteraction (#6478) ([c14e594](https://github.com/discordjs/discord.js/commit/c14e594d8a905d5559aa1f6ce013d245552295fd)) +- **Guild:** Add `Guild#maximumBitrate` getter. (#6455) ([21983de](https://github.com/discordjs/discord.js/commit/21983de3e00b6ae72bb8a41359209f77025a7808)) +- **Message:** Prevent fetching an interaction webhook. (#6468) ([f39b597](https://github.com/discordjs/discord.js/commit/f39b597e3120701287e86acdb247b4815f693c91)) +- Add maximum prune requests reached api error (#6427) ([a4b8623](https://github.com/discordjs/discord.js/commit/a4b8623b60150b3d9e3d2d54a2ef07e240e3c5c7)) +- **Rest:** Expose https.Agent options (#6177) ([5eb3553](https://github.com/discordjs/discord.js/commit/5eb3553fd1d7bcd88f2ddbccb452a470eb853ecb)) +- **InteractionReponses:** Allow fetching of ephemeral messages (#6426) ([d289d5c](https://github.com/discordjs/discord.js/commit/d289d5ccb7153df4656f071c69f41efe74754362)) +- Export ContextMenuInteraction (#6434) ([170c0c4](https://github.com/discordjs/discord.js/commit/170c0c4985595f77555c07747e72ae381d98a4d4)) + +## Performance + +- Use logical assignments instead of if statements (#6693) ([e9daa31](https://github.com/discordjs/discord.js/commit/e9daa31eaf73c90daee667fb89542bd0e5e763ad)) + +## Refactor + +- **User:** Set accentColor and banner to undefined when not yet received (#6721) ([ba93e85](https://github.com/discordjs/discord.js/commit/ba93e85d0da6dc8e30e7a23e1936f605c9ce21d1)) +- Use optional chaining (#6757) ([a194d9c](https://github.com/discordjs/discord.js/commit/a194d9c37fa05152738efe26a5e698cf7716d282)) +- Use the `node:` protocol (#6710) ([531b46c](https://github.com/discordjs/discord.js/commit/531b46c60d022f0814c6528abc922d40e4ad3476)) +- **VoiceState:** Use manager edit method to remove error (#6631) ([29dd319](https://github.com/discordjs/discord.js/commit/29dd319b6818329ed91df7c6380dfdb0fa354548)) +- **Constants:** Better type error in cdn endpoints (#6637) ([124e177](https://github.com/discordjs/discord.js/commit/124e177e91d1cee3566c784ab8efad2a0c6a9519)) +- ES2021 features (#6540) ([00bd92a](https://github.com/discordjs/discord.js/commit/00bd92a45172852c9dd20550eb916c101668071c)) +- **Channel:** Make delete async (#6417) ([71fdf6f](https://github.com/discordjs/discord.js/commit/71fdf6fae0457bc5f2900a37cc2d28c587e7e54a)) + +## Typings + +- **Interaction:** Allow `Interaction` cached properties to be type narrowed (#6668) ([d873a19](https://github.com/discordjs/discord.js/commit/d873a19d34ed7d98c497d9523b33306d4a078521)) +- Rename `Awaited` to `Awaitable` (#6756) ([f88f4cc](https://github.com/discordjs/discord.js/commit/f88f4cca641935cfe64caf870ef11034b70bc947)) +- **GuildBanManager:** Remove can return null (#6748) ([c3f4de4](https://github.com/discordjs/discord.js/commit/c3f4de4801ae1910c20dccf5ce0fc2987a67d41e)) +- Add ExcludeEnum utility for easier typings (#6746) ([42acc6e](https://github.com/discordjs/discord.js/commit/42acc6eef9c76cdb698208ddacce64eed25f1396)) +- **Webhook:** More accurate type for `sourceChannel` (#6751) ([32b5c2e](https://github.com/discordjs/discord.js/commit/32b5c2e617ab091adb4697859330a793e8f30598)) +- **WebhooksUpdate:** Allow `NewsChannel`s (#6749) ([abf158d](https://github.com/discordjs/discord.js/commit/abf158dc94555d34b041865ebcb456449f503038)) +- More accurate types instead of `GuildChannelResolvable` (#6744) ([a8e6010](https://github.com/discordjs/discord.js/commit/a8e60105fb18b8a3de064898db76560907f12a67)) +- **ChannelTypes:** Remove unknown from CHANNEL options (#6701) ([8b4456e](https://github.com/discordjs/discord.js/commit/8b4456e0aa215a56d34ca471319f6c768346c5ba)) +- **TextBasedChannels:** Fix awaitMessageComponent return type (#6723) ([a7cb314](https://github.com/discordjs/discord.js/commit/a7cb314e0709438c8212ff4a8a897bcf0771a067)) +- **Vanity:** Make `uses` non-nullable (#6715) ([3a978f3](https://github.com/discordjs/discord.js/commit/3a978f347cee027dd50862542c358ab9301b09be)) +- **Role:** Role#comparePositionTo accepts RoleResolvable (#6722) ([7c4d1df](https://github.com/discordjs/discord.js/commit/7c4d1dffb4e61c573ad1694f9b88ca9cca68522c)) +- **Presence:** Fix ActivityOptions#type and Activity#id types (#6696) ([fe95005](https://github.com/discordjs/discord.js/commit/fe9500538e76423e49e16a1e1756eb04b5f40531)) +- Fix missing channel type in subcommand options (#6706) ([da3ae48](https://github.com/discordjs/discord.js/commit/da3ae4854e5448a9726cb027f9d27f85935fb49b)) +- Add GuildEmojiManager to Caches (#6671) ([1ca8d2c](https://github.com/discordjs/discord.js/commit/1ca8d2c8e8d6f7a6529aaa637e01ac61fed5ce19)) +- **VoiceState:** Allow moving members to stage channels (#6684) ([94ca0f5](https://github.com/discordjs/discord.js/commit/94ca0f599d01d39f06cb46f1d3fdda21b9109b53)) +- **Interaction:** Improve type guard for inGuild() (#6644) ([0347826](https://github.com/discordjs/discord.js/commit/034782641a2e558d50a7645081c1c7a4f18bb04a)) +- **MessageOptions:** Allow APIEmbed (#6656) ([92f6471](https://github.com/discordjs/discord.js/commit/92f6471e8e37e5f852d2c310e7c1b43cd42bc44d)) +- **WelcomeChannel:** Allow store channels (#6615) ([75d85f7](https://github.com/discordjs/discord.js/commit/75d85f7838eb3fffe9c6a2c02667a14b77940de7)) +- **MessageEmbed:** Allow APIEmbed type (#6629) ([256fb90](https://github.com/discordjs/discord.js/commit/256fb905feca370ec7e6e25e5467f64db43fae3e)) +- **TextBasedChannelFields:** Add back createMessageCollector (#6616) ([1b016a3](https://github.com/discordjs/discord.js/commit/1b016a30c8f52a123c927c0ba44d985321567703)) +- Make `channelId` non-nullable on `MessageComponentInteraction` (#6600) ([8cc3885](https://github.com/discordjs/discord.js/commit/8cc3885739127ebc7023b6358ed0259ba7527250)) +- `Message#createMessageComponentCollector` use `MessageComponentInteractionOptions` (#6596) ([c62823e](https://github.com/discordjs/discord.js/commit/c62823e43de50362ff0dabaf3fd53d2d39e5816b)) +- **MessagePayload:** Specify typings for `files` and `resolveFile` (#6608) ([ea36955](https://github.com/discordjs/discord.js/commit/ea3695585d59ed295cd0c8565f262ea6cc4fe098)) +- Collector filter parameter inference (#6574) ([0841956](https://github.com/discordjs/discord.js/commit/08419561edd710a6574b5e1449bf5dc1040580d5)) +- **MessageReference:** Correctly add undefined type (#6563) ([cdb0005](https://github.com/discordjs/discord.js/commit/cdb00053dec5223a929de4eea97a90c84c917408)) +- `@typedef` for `StageChannelResolvable` (#6568) ([2c219cb](https://github.com/discordjs/discord.js/commit/2c219cb982f73cda7f7db30af59200c754e75cee)) +- Allow message component interaction collectors to infer collected interaction types (#6476) ([03d5549](https://github.com/discordjs/discord.js/commit/03d5549461ef29a191f9a32d4a2f45ac3c58f0cd)) +- **CommandInteractionOptionResolver:** Document & type thread channels (#6521) ([774e960](https://github.com/discordjs/discord.js/commit/774e9609d27f8b7c195af34b4b48846ddbafea78)) +- **MessageComponentInteraction:** Fix componentType (#6536) ([0fe5f88](https://github.com/discordjs/discord.js/commit/0fe5f8831662a8ba074c4d2e4dea851bed755841)) +- Mark enums as const enums (#6394) ([5c27639](https://github.com/discordjs/discord.js/commit/5c276398d6c6e90a44e7db575264bc9d935b3f9d)) +- **MessageEmbed:** Allow `null` for `setTimestamp` (#6514) ([7aff15a](https://github.com/discordjs/discord.js/commit/7aff15a05534ce11c76494cc15d63e06fb5a9816)) +- Require component type in raw object formats (#6452) ([c232baa](https://github.com/discordjs/discord.js/commit/c232baa7154a4f07904ad5b0b8557ebb452bfb66)) +- **CommandInteractionOptionResolver:** Add missing parameter (#6497) ([656b518](https://github.com/discordjs/discord.js/commit/656b51875f82a82a4429b50157a77d37be211534)) +- **ClientPresence:** Add type declarations and docs (#6450) ([6cac03a](https://github.com/discordjs/discord.js/commit/6cac03a39408ef14316a898eb81cc998921a8f0f)) +- **GuildChannel:** Added missing typing (#6454) ([f294d1e](https://github.com/discordjs/discord.js/commit/f294d1eff207ded337ccff6413824bb6ea60b4c7)) +- Message#_patch typings return type (#6433) ([81bb68d](https://github.com/discordjs/discord.js/commit/81bb68d3beb266fb0b508da959468a3a6f11c24c)) + +# [13.1.0](https://github.com/discordjs/discord.js/compare/13.0.1...13.1.0) - (2021-08-12) + +## Bug Fixes + +- **StageInstance:** Ensure `discoverableDisabled` is not `undefined` (#6395) ([dce8fc7](https://github.com/discordjs/discord.js/commit/dce8fc7b9d4603de26b1118058322aaa96ea699a)) +- **WidgetMember:** Default to `null` and not `undefined` (#6399) ([44bbfa5](https://github.com/discordjs/discord.js/commit/44bbfa5c46a4bb35777aec8681f18590dec9aea4)) +- **Guild:** `preferredLocale` to always be a string (#6402) ([4a64662](https://github.com/discordjs/discord.js/commit/4a64662a7d5526817ad52fa3d2206dc11f38cb29)) +- **ContextMenuInteractin:** Store message as raw value (#6400) ([d9456a1](https://github.com/discordjs/discord.js/commit/d9456a1a76e66bc2bfffa4a4b1dd228132056e9f)) +- **Util:** Remove truthy check before isNaN check (#6358) ([3c17939](https://github.com/discordjs/discord.js/commit/3c17939fd53a1f139d95bd36dfdab85b46538a73)) +- **Constants:** Fix CDN endpoint typings (#6332) ([47d2ef3](https://github.com/discordjs/discord.js/commit/47d2ef3e40165d846b5a901709b26dfffea46ef2)) +- **Managers:** Fix typo in unsupported warning (#6338) ([917e71a](https://github.com/discordjs/discord.js/commit/917e71a9ee7d8bd76d8dbea40b40a4fb28276f60)) +- **GuildMemberRoleManager:** Typo (#6335) ([d87299b](https://github.com/discordjs/discord.js/commit/d87299ba2036ee19da22b5c8abfae3f9d355ea1e)) + +## Documentation + +- Remove unparsed examples (#6404) ([e6f48d8](https://github.com/discordjs/discord.js/commit/e6f48d849f0439bdafe5677648f2c9e5c69bda35)) +- **GuildManager:** Increase fetch limit to 200 (#6406) ([933d2c5](https://github.com/discordjs/discord.js/commit/933d2c5eb77e4e2e15a771a88039555182818965)) +- **ApplicationCommandData:** Fix type property (#6385) ([de3c86f](https://github.com/discordjs/discord.js/commit/de3c86f804dd1b2a8b1b8fe102ea721cc4e73db5)) +- Update links for api-docs (#6380) ([779e14e](https://github.com/discordjs/discord.js/commit/779e14ef6172749ee688fc9cef80bd767b7823d7)) +- Switch urls from upstream rearranging (#6378) ([4c8dc4c](https://github.com/discordjs/discord.js/commit/4c8dc4cda6f598dc26275c9f291222c7c75cfcda)) +- Correct wrong interaction links (#6274) ([49d3c0b](https://github.com/discordjs/discord.js/commit/49d3c0bf8737fd02623761474f1a32a51861750d)) +- **Invite:** `MANAGE_CHANNELS` instead of `MANAGE_CHANNEL` (#6361) ([0062aa6](https://github.com/discordjs/discord.js/commit/0062aa6f72f1f6695a6b52a4623fc65aa9a09667)) +- **Options:** DefaultMakeCacheSettings typo (#6365) ([ea8d77e](https://github.com/discordjs/discord.js/commit/ea8d77ea6236c03747fd30ee8f9357acf257f817)) +- Grammar fixes (#6345) ([f13d27c](https://github.com/discordjs/discord.js/commit/f13d27ca2e6873f1cc18feb6bb9102ca80ce04cf)) + +## Features + +- **GuildMemberManager:** Add 'list' method (#6403) ([2bf0970](https://github.com/discordjs/discord.js/commit/2bf09703c13afe7481071ae1b064dbc3513468e1)) +- **GuildManager:** Allow setting with_counts to false (#6407) ([14aea12](https://github.com/discordjs/discord.js/commit/14aea1290061c225feb9d9f5378508d937e34a69)) +- **CommandInteractionResolvedData:** Access to "raw" resolved data (#6384) ([fff887b](https://github.com/discordjs/discord.js/commit/fff887b2f43d19164dbf2878b00abead90a0703f)) +- **Utils:** Add additional formatters (#6388) ([cd40292](https://github.com/discordjs/discord.js/commit/cd4029218fc8b67c395b3cd49a121b1bfa38f021)) +- Right-clickybois (context menu support for ApplicationCommand and CommandInteraction) (#6176) ([0266f28](https://github.com/discordjs/discord.js/commit/0266f280960729b27bf65ba0ee7b7bd8659f304d)) +- **Threads:** Max autoArchiveDuration option (#6304) ([394d486](https://github.com/discordjs/discord.js/commit/394d48649fe4faef8c6b30d5c04962588f86261e)) + +## Refactor + +- **Options:** Separate default settings for make cache (#6330) ([d14a6bf](https://github.com/discordjs/discord.js/commit/d14a6bfe1d00511e43d0eba4fe225f829d3e0057)) + +## Typings + +- **ApplicationCommandData:** Make `type` field optional (#6405) ([dcc556c](https://github.com/discordjs/discord.js/commit/dcc556c311871ef72fed506a3917d9cf39186250)) +- **Constants:** Add `ApplicationCommandTypes` to `Constants` (#6398) ([6342430](https://github.com/discordjs/discord.js/commit/63424300731334cdbfb6230e7356491277c86b03)) +- **ApplicationCommandOptionData:** Align command data options types more with discord API (#6247) ([297a911](https://github.com/discordjs/discord.js/commit/297a9118e7fbbc477eb514c857224da178cceea9)) +- **ApplicationCommandData:** Stronger typings for `ApplicationCommandData` variants. (#6382) ([75b48d8](https://github.com/discordjs/discord.js/commit/75b48d8d0f70338c75721df3dbd8fc37866383bc)) +- **Options:** CreateDefaultOptions => createDefault (#6376) ([2a3e819](https://github.com/discordjs/discord.js/commit/2a3e819fcfb364725ebd2daa051c0544adf40b0d)) +- **Events:** Renamed `messageReactionAdd`'s reaction parameter (#6371) ([006edca](https://github.com/discordjs/discord.js/commit/006edca410f5df53f3272f7a402f2305f73ad14b)) +- **ImageURLOptions:** Allow 'gif' format (#6342) ([5f1def3](https://github.com/discordjs/discord.js/commit/5f1def37930605bea47e2cc50eff3d134b9c0c66)) + +# [13.0.1](https://github.com/discordjs/discord.js/compare/13.0.0...13.0.1) - (2021-08-07) + +## Bug Fixes + +- **GuildMemberManager:** Refactor fetchMany (#6328) ([909c873](https://github.com/discordjs/discord.js/commit/909c87353e24eb7947d1cabc78d9c0ee97c3902d)) +- **Message:** Handle fetched messages (#6325) ([ceae596](https://github.com/discordjs/discord.js/commit/ceae5960edefc63be5f16a52e286e390c14e0d29)) + +## Documentation + +- Fix bad indentation (#6316) ([cd1aefb](https://github.com/discordjs/discord.js/commit/cd1aefb46c6a6bcb4b943262c16dc4ad62430978)) + +## Typings + +- **Util:** Fix cleanContent parameter type (#6321) ([60ace9a](https://github.com/discordjs/discord.js/commit/60ace9a2d4cd2844a862f03f33d3be81b56f352b)) + +# [13.0.0](https://github.com/discordjs/discord.js/compare/12.5.0...13.0.0) - (2021-08-06) + +## Bug Fixes + +- **MessageMentions:** Check guild exists before adding roles (#6313) ([1200bba](https://github.com/discordjs/discord.js/commit/1200bba7bcc48dab6a454925e533528a7e3c0cf7)) +- **GuildMemberManager:** FetchMany fixes (#6314) ([52817fc](https://github.com/discordjs/discord.js/commit/52817fc414eef5220043e055a740e4ad0f8287a0)) +- **Caching:** Sweep archived threads in all channel caches (#6312) ([3725dca](https://github.com/discordjs/discord.js/commit/3725dcafc0cbb4a40d3ff66d2a9718e986f47c5b)) +- **Message:** Fix thread getter (#6309) ([913c9fa](https://github.com/discordjs/discord.js/commit/913c9fa17672fa914776beb556edcee5cd2d2dc8)) +- **BaseGuildTextChannel:** Call patch (#6298) ([3eb4140](https://github.com/discordjs/discord.js/commit/3eb41405f412ee2b2d05c4245c4ebb80adfcec6b)) +- Remove support for overriding caches that break functionality (#6282) ([a6d4035](https://github.com/discordjs/discord.js/commit/a6d4035176ca784e75bd1cbdf30e039658c62fd4)) +- **Message:** Make #channel and #guild getters (#6271) ([6e3236a](https://github.com/discordjs/discord.js/commit/6e3236ab64549d27445c631cbb3d88c2bb9bf289)) +- **WebSocketShard:** Mark shard ready if no guilds intent (#6284) ([09471be](https://github.com/discordjs/discord.js/commit/09471be30eea2540999c3d5a2b001a985a0d27cc)) +- **Action:** GetChannel interaction DM (#6280) ([a72b5a3](https://github.com/discordjs/discord.js/commit/a72b5a355e443f17edf1b348f63d314c743093b9)) +- **GuildChannel:** SetParent not working (#6276) ([7e0618f](https://github.com/discordjs/discord.js/commit/7e0618f17a786708093bc532501b261191e85561)) +- **ChannelUpdate:** Restore accidentally removed line (#6263) ([774f5b7](https://github.com/discordjs/discord.js/commit/774f5b77ec6218c30360c773b5fe6185d1efd146)) +- **Util:** Fix collection import (#6256) ([93e0239](https://github.com/discordjs/discord.js/commit/93e0239c8054293eac63338819a10490dbd49ff1)) +- Array/keyArray removed (#6245) ([bf221f2](https://github.com/discordjs/discord.js/commit/bf221f2bef2871f019aa4a6978deb8460fff85b9)) +- **TextBasedChannel:** Fix MessageCreate handling (#6217) ([6b85f90](https://github.com/discordjs/discord.js/commit/6b85f900fa8e6cc01f7ee14ae730950cf1635dd5)) +- **PermissionOverwrites:** Throw better error if resolving option fails (#6219) ([42a0313](https://github.com/discordjs/discord.js/commit/42a03130345d3a3841f5271d82a2cb8725b6fa0e)) +- **Channel:** Add default for destructured options (#6203) ([6872547](https://github.com/discordjs/discord.js/commit/68725476b39d5ef5793ccf62cfb468073e7d9cb2)) +- Use `string` instead of `Snowflake` for invites (#6202) ([f060a3f](https://github.com/discordjs/discord.js/commit/f060a3fcd7e1ad30789d582e8baf28dbdddf8063)) +- **ThreadChannel:** Better property handling (#6172) ([9679b90](https://github.com/discordjs/discord.js/commit/9679b9087200e29d2f488d84d115465449021b51)) +- Export various classes that are exported in the typings (#6166) ([30a58dc](https://github.com/discordjs/discord.js/commit/30a58dc80130d334bf8c85e7b37513c109beda1b)) +- **Typings:** Type attachments to InteractionUpdateOptions (#6162) ([4f8ca29](https://github.com/discordjs/discord.js/commit/4f8ca2936a85109757fb3225e9d6cf9aae9714e2)) +- **GuildAuditLog:** Assert `target` to null upon not finding invite codes (#6171) ([c8ca7bf](https://github.com/discordjs/discord.js/commit/c8ca7bfd2c5e7b29e54987a78301e9bdfa4a717b)) +- **Message:** Fix typo in sticker_items (#6173) ([870a0de](https://github.com/discordjs/discord.js/commit/870a0de53c01331c9357df4808fc0979ff17b9a4)) +- **Sticker:** Replace 'this.guildID' (undefined) by 'this.guildId' in fetchUser (#6160) ([07017a9](https://github.com/discordjs/discord.js/commit/07017a9699eecc4af7824ace39dd91e8b689f3c6)) +- **CommandInteractionOptionResolver:** Type should be USER (#6148) ([02f55f0](https://github.com/discordjs/discord.js/commit/02f55f09712af5d6a6f67b5ac369b1969801e23f)) +- **CommandInteractionOptionResolver:** Export CommandInteractionOptio… (#6146) ([8ccfd6e](https://github.com/discordjs/discord.js/commit/8ccfd6e07b3208568c495110c80990366637818e)) +- **CommandInteraction:** Change options type from Collection to array (#6139) ([77784ac](https://github.com/discordjs/discord.js/commit/77784aca431709ff3c17095bd06f9e4016fbd11d)) +- **GuildChannel:** Only fetch invites for the specific channel (#6132) ([c40c0f9](https://github.com/discordjs/discord.js/commit/c40c0f934a571c100e4b3aa633a80fe48661d836)) +- **PermissionsOverwrites:** Only convert type if number (#6092) ([dee5c83](https://github.com/discordjs/discord.js/commit/dee5c83fc0d1147d5b65151a8f91a4a089687a73)) +- Channel type check in actions (#6086) ([d433fe8](https://github.com/discordjs/discord.js/commit/d433fe8a0827e6275e2a7ceed537be38411f4f67)) +- **GuildChannel:** Clone its PermissionOverwriteManager too (#6083) ([f72ce7c](https://github.com/discordjs/discord.js/commit/f72ce7c136cf2dfe31a67b190c00e30ba7d70bfa)) +- **PresenceUpdate:** Use added presence over nullable getter (#6077) ([637c8e0](https://github.com/discordjs/discord.js/commit/637c8e0fdfb4ce15361646017718c72c3d6af538)) +- **InviteScope:** Added missing 'bot' scope (#6052) ([93e2c04](https://github.com/discordjs/discord.js/commit/93e2c04ec27c44a8c955e576944023dc25075647)) +- **SelectMenuInteraction:** Set values to empty array if not provided (#6045) ([34708d6](https://github.com/discordjs/discord.js/commit/34708d6d18f94b5c8d9c582973d057e1f89bfe1f)) +- **Guild:** Add invite manager property, extend CachedManager (#6049) ([e3d877d](https://github.com/discordjs/discord.js/commit/e3d877d542518d0f82c476d921968338a859722b)) +- **TeamMember:** Fixed incorrect return types. (#6044) ([fe5d56c](https://github.com/discordjs/discord.js/commit/fe5d56c9b11b3e5f05933c6d746237b9f353b392)) +- **Structures:** Remove Structures (#6027) ([ab0b3b9](https://github.com/discordjs/discord.js/commit/ab0b3b9a07f5e4987e4f25e41b2a007f2db06322)) +- **GuildChannel:** Use map method on cache not its manager (#6032) ([d58f0d2](https://github.com/discordjs/discord.js/commit/d58f0d243c9bbd803cff7b8da2056c11e0416bef)) +- **PermissionOverwriteManager:** Pass ID to API correctly (#6026) ([8077e4f](https://github.com/discordjs/discord.js/commit/8077e4f4f132f95c4fa21e9fc7313b93a2c4b9d7)) +- **GuildChannel:** Add missing 'cache' property (#6019) ([7e30011](https://github.com/discordjs/discord.js/commit/7e3001191c1529b9db09b6168ddd0c09931598f5)) +- Remove `connection.url` from open debug message (#6018) ([39db953](https://github.com/discordjs/discord.js/commit/39db95352c91faf175c2fd8ed365f293f965a0e4)) +- **Util:** SplitMessage not working with array (#6008) ([bd25ff5](https://github.com/discordjs/discord.js/commit/bd25ff59133ba31713647d3e6a5ef66abc4d54fb)) +- Correct permissions checks and cache on update (#6015) ([568691c](https://github.com/discordjs/discord.js/commit/568691ce6a7994adc85db2b2a5b2227ece8c8358)) +- **ThreadManager:** Fixed wrong private and fetchAll check (#6012) ([e4be666](https://github.com/discordjs/discord.js/commit/e4be666c2c273c56f04b8f965efc88bb9aff0032)) +- **Typings:** Improve components typings in MessageEditOptions (#6002) ([3a718d8](https://github.com/discordjs/discord.js/commit/3a718d8c625ab45bc9f4dfcd9d6bbdef67ae75b4)) +- **ApplicationCommand:** Fix typo in JSDoc (#5994) ([6edf55c](https://github.com/discordjs/discord.js/commit/6edf55c04b970235fdc92c00808ee86002e589b6)) +- **ThreadChannel:** Check for existence of properties when patching (#5961) ([9ac6867](https://github.com/discordjs/discord.js/commit/9ac68670d782fc81e266784e790af699f280eb0e)) +- **Typings:** Erronous RawMessage ([5842e35](https://github.com/discordjs/discord.js/commit/5842e35881755350764b557d66b475c2c03f249a)) +- **Thread:** Make archive_timestamp not nullable (#5965) ([edab5af](https://github.com/discordjs/discord.js/commit/edab5afff9a4c79e5965c7c52b0a0d5ebb9ba35a)) +- **Sharding:** Strict type context and return (#5933) ([1925d01](https://github.com/discordjs/discord.js/commit/1925d01d8f05ca10b2a39b91f25ffcabe363874b)) +- **Webhook:** Return void from #delete for consistency. (#5954) ([5ad83a6](https://github.com/discordjs/discord.js/commit/5ad83a6a65e5944ceb3a41fee2df40ba1f5b03e4)) +- **Collector:** Docs and types (#5937) ([6c447b1](https://github.com/discordjs/discord.js/commit/6c447b12e3f978328cb2577ea3f81a5ab1531bbf)) +- **Message:** Make author of referenced message nullable (#5929) ([dc671c8](https://github.com/discordjs/discord.js/commit/dc671c8ac418c1f932034e82f38def28575a4b65)) +- **User:** Fix bot and system properties being incorrect in some cases (#5923) ([e44ae96](https://github.com/discordjs/discord.js/commit/e44ae961005358dac7032c75bfc74be3b719e5a1)) +- **ThreadMemberManager:** Fix ThreadMemberManager#add and ThreadMemberManager#fetch (#5927) ([adecead](https://github.com/discordjs/discord.js/commit/adecead716670278516fd031f240e05792420c75)) +- **Webhook:** Resolve non-string avatars too (#5914) ([4714a96](https://github.com/discordjs/discord.js/commit/4714a961b87746b0f85214c756614d276666f285)) +- **ApplicationCommand:** StringType isn't supposed to be sent to the API (#5916) ([ca2a36b](https://github.com/discordjs/discord.js/commit/ca2a36b1d713a743045b15adf99eda69a6fdbec7)) +- **Permissions:** Allow admin to override in the missing method (#5911) ([ee025b0](https://github.com/discordjs/discord.js/commit/ee025b05588493b55057b237ca96f88ecc5f0b02)) +- **InteractionResponses:** Set replied status on editReply (#5899) ([6d3d00b](https://github.com/discordjs/discord.js/commit/6d3d00b44577a70e840f0187d6894043677c5329)) +- **Message:** Flags not being parsed on some edits (#5886) ([2d7c12b](https://github.com/discordjs/discord.js/commit/2d7c12b0e9387f56f1809822bc2c8c4ee52a00e9)) +- **Guild:** Don't patch before instance properties (#5885) ([174b7a7](https://github.com/discordjs/discord.js/commit/174b7a7f9c5f95ab182a2c90dae43ccd4f55357b)) +- **presenceUpdate:** Fire when only state/details change on an activity (#5846) ([1f8f3ab](https://github.com/discordjs/discord.js/commit/1f8f3ab0f8dbd346154bbfa14a98726b8df25d57)) +- **Message:** EditedTimestamp defaulting to 0 (#5847) ([671436c](https://github.com/discordjs/discord.js/commit/671436cbb89f7f48bd9ae0ccb9dd75a376cc5281)) +- **ApplicationCommand:** Default option.required fix (#5848) ([a1f94f6](https://github.com/discordjs/discord.js/commit/a1f94f670e5b6009b9c33932ce06ed512447b953)) +- **Guild:** SetChannelPositions null parenting (#5841) ([01a1fd6](https://github.com/discordjs/discord.js/commit/01a1fd615bbf017e18bbffe8e97336345f42564a)) +- **ApplicationCommand:** Default option.required to false (#5838) ([77c1f15](https://github.com/discordjs/discord.js/commit/77c1f15c9f7562465c07727602c3213ddcf02778)) +- **GuildManager:** #create throws when systemChannelFlags is undefined (#5832) ([29173bf](https://github.com/discordjs/discord.js/commit/29173bf814e2cd795467b9b3814f0eaf0773e9ae)) +- **GuildChannel:** Don't force parentID/permissionOverwrites to empty on create (#5823) ([c585933](https://github.com/discordjs/discord.js/commit/c5859337b616c1fe2a60884595d27db4f13d8fee)) +- **GuildChannel:** Improve empty overwrite handling for permissionsLocked (#5821) ([6df3623](https://github.com/discordjs/discord.js/commit/6df36232a05e396d31461200725755745526d2ed)) +- **ApplicationCommands:** Allow managing commands for uncached guilds (#5729) ([24e5868](https://github.com/discordjs/discord.js/commit/24e586881865c187ff0a3044ac37f6e338cc51ee)) +- **ClientApplication:** Freeze flags (#5811) ([e990c35](https://github.com/discordjs/discord.js/commit/e990c35476fb6f7e1a5449493833140144e0469c)) +- ***:** Typedefs and typings for image & webhook options (#5805) ([a5a6e22](https://github.com/discordjs/discord.js/commit/a5a6e223166cf9af430da9003780e6582ea17b1c)) +- **TextBasedChannel:** Allow passing an APIMessage with split (#5815) ([93b0a4e](https://github.com/discordjs/discord.js/commit/93b0a4e005b5b1d371f7936238556db2e36cc982)) +- **PermissionOverwrites:** Optional allow/deny OverwriteData (#5810) ([a7ebb21](https://github.com/discordjs/discord.js/commit/a7ebb2145c380214567514906393c4ab87932e95)) +- **Typings:** Fix BitField toJSON/valueOf return types (#5806) ([935f819](https://github.com/discordjs/discord.js/commit/935f819207ac4219d37f3b99a2508e368626e6da)) +- **Hooks:** Make husky hooks executable (#5812) ([77e28cf](https://github.com/discordjs/discord.js/commit/77e28cf65b0fb3fc2fb7ab07fc7bb0f2f5a400b5)) +- **GuildChannel:** Clone errors when options.name isn't provided (#5804) ([41673b7](https://github.com/discordjs/discord.js/commit/41673b738232f64da2ded3b15be0f798135ae351)) +- **WebSocketShard:** Don't catch errors thrown in event handlers (#5803) ([53d8e49](https://github.com/discordjs/discord.js/commit/53d8e49dca2d83fe2e066fb0b3d10418acbbc244)) +- Don't patch missing properties from partial payloads (#5796) ([097c7b9](https://github.com/discordjs/discord.js/commit/097c7b9cdd5e1bb52b037272eed19f556800ccff)) +- **GuildChannel:** Spread clone options to avoid infinite recursion (#5800) ([2f5424b](https://github.com/discordjs/discord.js/commit/2f5424bdac7c97d0a371dd72084ac02d5e774f1a)) +- **Webhook:** Throw an error if no token is available when it's required (#5798) ([eb98e33](https://github.com/discordjs/discord.js/commit/eb98e33a85cc9bb235ceb509ed01218bae44ba73)) +- **ClientPresence:** Produce valid activities for set presences (#5799) ([ea0e06f](https://github.com/discordjs/discord.js/commit/ea0e06f9802fb57b41f471413b39ccd09546bb67)) +- **BitField:** Ensure missing returns an array of strings (#5795) ([68f7aeb](https://github.com/discordjs/discord.js/commit/68f7aebcafcfd62bef02de855ca0c304a54e8d4c)) +- **ApiMessage:** Only pass objects as options directly (#5793) ([3578159](https://github.com/discordjs/discord.js/commit/35781597d032fa7821e010e483c89f70ec51926c)) +- **BitField:** Throw an error if bit to resolve is undefined (#5565) ([0156f69](https://github.com/discordjs/discord.js/commit/0156f693e08fe2ad75133bf67c4aeb3e9c91a02d)) +- Remove remnants of awaitMessageComponentInteractions (#5783) ([ae78a33](https://github.com/discordjs/discord.js/commit/ae78a336e1d0d190ec9f525449332dc781e0b3bf)) +- ***:** Add missing imports for custom errors (#5767) ([e980948](https://github.com/discordjs/discord.js/commit/e980948de55e91e59c9e3293ac76bc645a058a53)) +- **ShardingManager:** Client error event cannot be emitted (#5559) ([d1c5b6f](https://github.com/discordjs/discord.js/commit/d1c5b6fe9e18b532ad69ed4bd82e1874a6dff4df)) +- Add components to MessageOption typedefs (#5768) ([657635c](https://github.com/discordjs/discord.js/commit/657635c1c09aa68211130bc3c56d6e8bb6e8e773)) +- **Interaction:** Add missing types and fix docs lists (#5762) ([1d57754](https://github.com/discordjs/discord.js/commit/1d57754d4654c5c95aa14afc13f8abe335314767)) +- **Webhook:** #editMessage throws error when content is null (#5757) ([2901fd5](https://github.com/discordjs/discord.js/commit/2901fd595be847a0e6c86155b3229d3341cfad32)) +- **MessageComponentInteraction:** Correctly type defer method (#5760) ([f0dad26](https://github.com/discordjs/discord.js/commit/f0dad26a5b8c3139b2519d1895df2fe23352b102)) +- **RoleManager:** Bug in #create (#5730) ([cf22456](https://github.com/discordjs/discord.js/commit/cf224560bc59c05f7801088b0db2ec76c5369302)) +- **Message:** Update typings and docs related to #edit (#5745) ([a2f0c11](https://github.com/discordjs/discord.js/commit/a2f0c11474826bfd5b770d2a6990b6bd41c89451)) +- **Typings:** Add missing typings for `HttpError` -> `requestData` (#5742) ([3e9ce35](https://github.com/discordjs/discord.js/commit/3e9ce35023e71ffda1f4eaca6f109b0422ec7d29)) +- **MessageEmbed:** Import custom RangeError class (#5740) ([bfe01b5](https://github.com/discordjs/discord.js/commit/bfe01b52ab29df1bb26fc2d385f63fb5adbb12b2)) +- **CommandInteraction:** Cmds with no options throw error (#5734) ([af2fad9](https://github.com/discordjs/discord.js/commit/af2fad94732eeb620fe17d9b537c279471c567c0)) +- **CommandInteraction:** Channel type should be text based channels (#5690) ([5141ea4](https://github.com/discordjs/discord.js/commit/5141ea4f0694a60375d8bc0801b1225928bb3bd1)) +- **GuildMemberManager:** Allow moving members to any non-text channel (#5681) ([d21e6af](https://github.com/discordjs/discord.js/commit/d21e6af1d2b81db9847336b3f964f9d2693394e6)) +- Interfaces not importing due to re-export of Snowflake (#5723) ([086c3f0](https://github.com/discordjs/discord.js/commit/086c3f0799d65c64c4e60d6370246a37a27a1eab)) +- **PermissionOverwrites:** Fix typo in typedef jsdoc (#5704) ([6567ba8](https://github.com/discordjs/discord.js/commit/6567ba821a54d3dc97d07ce8ac55335fef2f346b)) +- **Types:** Make event listeners accept async callbacks (#5602) ([a73a5cf](https://github.com/discordjs/discord.js/commit/a73a5cf91498cf7b08cea85753ad481c194ec089)) +- **GuildEmojiRoleManager:** Bug in #remove (#5666) ([c89bdd7](https://github.com/discordjs/discord.js/commit/c89bdd7566599a95a404b0f9e4b0828a866d0a71)) +- **ApplicationCommandOptionData:** Options property should be itself (#5679) ([b90b0c3](https://github.com/discordjs/discord.js/commit/b90b0c3cfa2278caa38d1ff41eef2ccf4428b99e)) +- **APIMessage:** Document Interaction as valid MessageTarget (#5678) ([9f491ff](https://github.com/discordjs/discord.js/commit/9f491ffeb96ff380f2ab5ab2f86201d58be64c41)) +- **Message:** Bug in #suppressEmbeds due to #5612 (#5644) ([840ad0a](https://github.com/discordjs/discord.js/commit/840ad0a35a344a19c5bb84c421f80802fb186d0b)) +- Lint-staged for typescript files ([5f6ec22](https://github.com/discordjs/discord.js/commit/5f6ec2211d1e6555ab2d501579e4a1d97023c647)) +- **DataResolver:** Fix circular dependency error with GuildTemplate (#5622) ([b376f31](https://github.com/discordjs/discord.js/commit/b376f31af9881b9cd3f82ac4a42a468947cce482)) +- **ApplicationCommandManager:** Limit permission methods to guilds (#5613) ([03256bd](https://github.com/discordjs/discord.js/commit/03256bd9f88c63dc5c2169e2c09ac8078ea84992)) +- **CommandInteraction:** Update typings and docs for #editReply (#5630) ([56d44fb](https://github.com/discordjs/discord.js/commit/56d44fbf1c922260c497350e8829d7151eb7a331)) +- **ApplicationCommand:** Return string equivalent of ApplicationCommandOptionType (#5617) ([a6079bc](https://github.com/discordjs/discord.js/commit/a6079bc9ce40ecbb4adace033dbf201897b5459f)) +- Resolve emoji in Message#react (#5614) ([c733436](https://github.com/discordjs/discord.js/commit/c7334363b36c5f7f1c7880fe77a2e9b2eb1a6442)) +- Typo in GuildMemberManager (#5616) ([73f4114](https://github.com/discordjs/discord.js/commit/73f4114f59fc2f514d570ac8df3eac7d328cca3c)) +- **Message:** Editing with MessageEmbed or APIMessage (#5612) ([74e97ef](https://github.com/discordjs/discord.js/commit/74e97ef91b413300c83f163bc3914eaf8bd45d89)) +- **VoiceReceiver:** Fix memory leak (#5609) ([2eac842](https://github.com/discordjs/discord.js/commit/2eac84296b448907213680690ec766bb5fbe5990)) +- **ApplicationCommandManager:** Fix typo in JSDoc (#5603) ([3392eb7](https://github.com/discordjs/discord.js/commit/3392eb7de270842dbf5a54d19aa3e703dd445ba0)) +- **Sticker:** File renamed to SnowflakeUtil (#5573) ([f830eb7](https://github.com/discordjs/discord.js/commit/f830eb7101d05f90bbbf44ff750e4012ecb72449)) +- **Emoji:** Name can be null (#5513) ([5397021](https://github.com/discordjs/discord.js/commit/5397021efb1f9883cf4b48a0ca78d12b713a61fd)) +- **GuildMemberRoleManager:** Unable to remove roles when passed an array (#5556) ([9572521](https://github.com/discordjs/discord.js/commit/9572521e3c390e610de8e4dc79e4086b3b1d6e44)) +- Typings for 'Message' (#5518) ([0d68ca8](https://github.com/discordjs/discord.js/commit/0d68ca8eb9abdb517acee562fe01374416d225ed)) +- **HTTPOptions:** Change default value in jsdoc to 8 (#5547) ([cb50241](https://github.com/discordjs/discord.js/commit/cb50241e6fa7c95891925c8b18840c17df078620)) +- **GuildAuditLogsEntry:** Executor can be missing (#5500) ([e9bf206](https://github.com/discordjs/discord.js/commit/e9bf206d88b9307e4098b7f89178105d08b07544)) +- **typings:** Update GuildMemberRoleManager typings to match implementation (#5497) ([900e576](https://github.com/discordjs/discord.js/commit/900e57657e80833df2557c60862fcd71b35d0df1)) +- **MessageMentions#channels:** Fix type of channels of mentions (#5370) ([565d7b3](https://github.com/discordjs/discord.js/commit/565d7b3747d59ceeb01e2d88b20d761a99927a12)) +- **Resolvables:** Valid resolvables throw error when uncached (#5495) ([fa5a37e](https://github.com/discordjs/discord.js/commit/fa5a37e51a14fdd95420092fb8c2acffad132c3b)) +- **GuildChannel:** Check for community required channels in GuildChannel#deletable (#5170) ([b710a43](https://github.com/discordjs/discord.js/commit/b710a432326be823beb10f5f06f2a1e3fcd7c0ee)) +- **GuildMember:** Correctly check for premium_since (#5312) ([aff3625](https://github.com/discordjs/discord.js/commit/aff3625d4fc3c738d77325f8492b72077e6345e7)) +- **Voice:** Only skip undocumented voice packet byte if present (#5309) ([2b52cdc](https://github.com/discordjs/discord.js/commit/2b52cdc915146c6775bc7565e5ecf31e7c9880e7)) +- Typings for 'WebhookMessageOptions' (#5476) ([67025e6](https://github.com/discordjs/discord.js/commit/67025e63e4e8306a2b3ff62ae1067acf4b468a6a)) +- **IntegrationApplication:** Add missing export to index.js (#5475) ([8023250](https://github.com/discordjs/discord.js/commit/8023250ee7bb79a5e3f12d7297c29589f91d6b81)) +- **ApplicationFlags:** Export class (#5465) ([404ce57](https://github.com/discordjs/discord.js/commit/404ce57bcc3ce39c807457f25a5679a80e69d1bb)) +- **Voice:** Disconnect if voice channel not cached (#5467) ([3af8179](https://github.com/discordjs/discord.js/commit/3af8179878c093985c8a94ee2fd7e99d45243bda)) +- **InviteDelete:** Guild can be missing (#5457) ([6c6b105](https://github.com/discordjs/discord.js/commit/6c6b1053b7a6778a5d0402941a13258ca13378f8)) +- **ReactionUserManager:** Remove before query option (#5281) ([43bd568](https://github.com/discordjs/discord.js/commit/43bd568f1c38a6df38f56a8d607375ccc9da026a)) +- **GuildManager:** Add missing toString() on Permission#resolve fns (#5324) ([0778926](https://github.com/discordjs/discord.js/commit/077892645bd59d1b5c50e3291701cb4241c0bbdf)) +- **GuildChannel:** Regression on default channel type (#5251) ([e7c4f36](https://github.com/discordjs/discord.js/commit/e7c4f3672e7059c264ba67a94b87a655ea6e4da5)) +- **Guild/GuildChannel:** Methods reason arg usage (#5419) ([8411b9e](https://github.com/discordjs/discord.js/commit/8411b9e14211f83fddb00f622088979ee6586803)) +- **Role:** Pass Permissions class, not the bitfield (#5321) ([d744e51](https://github.com/discordjs/discord.js/commit/d744e51c1bdb4c7a26c0faeea1f2f45baaf5fd3c)) +- **WebSocketShard:** Key name in WebSocketShard#_send. (#5304) ([56d8b44](https://github.com/discordjs/discord.js/commit/56d8b445ede6c7915aec173a68905cda3d91f0ca)) +- **ApiMessage:** Remove resolve() from typings (#5241) ([a6bc39d](https://github.com/discordjs/discord.js/commit/a6bc39d3c699eec0b7851cda334335baa892c1de)) +- **GuildChannel:** Overload permissionsFor and BaseManager#resolve[id] (#5260) ([41bd6c2](https://github.com/discordjs/discord.js/commit/41bd6c2717faeeaa36514d39a4816f7cf65b4c02)) +- **GuildEmoji:** Check for cahnges to available in equals (#5201) ([f95f5dc](https://github.com/discordjs/discord.js/commit/f95f5dcd791b39c6a4d60dc8d64b0287e06ed768)) +- **VoiceConnection:** Make #dispatcher nullable (#5217) ([0d5de43](https://github.com/discordjs/discord.js/commit/0d5de4333d8afa57826aa75475fc4e3dfe8978c4)) +- **Message:** Update getters to take null permissions into account (#5066) ([98b1c58](https://github.com/discordjs/discord.js/commit/98b1c582189faee9ac40d81963008d94801f3837)) +- **typings:** Return types for 'Webhook(Client)#send()' (#4876) ([eb28ee7](https://github.com/discordjs/discord.js/commit/eb28ee7905eee248b9ccd248f7d8275933dd0637)) +- **MessageEmbed:** Include `author.name` in length getter (#5167) ([e37160f](https://github.com/discordjs/discord.js/commit/e37160f4e3d647e8e33b5b03d5f9e6c98b065499)) +- **Collection:** ToJSON() errors if the collection includes empty values (#5129) ([2c2249e](https://github.com/discordjs/discord.js/commit/2c2249ee7314401b65be677c233370657e1d4695)) +- Implement valueOf on pseudomanagers (#4595) ([8883a01](https://github.com/discordjs/discord.js/commit/8883a0144b02e76c767c21ecf28fb430b7223c7f)) +- Add presence to ClientPresence from ClientOptions (#5041) ([9c7fe34](https://github.com/discordjs/discord.js/commit/9c7fe34c50808ba080527a1919b1846ed6585d4d)) +- Filtering of string forms of null and undefined (#5075) ([9042d19](https://github.com/discordjs/discord.js/commit/9042d19c4ef54d9976776f41336610ab0a24db27)) +- **ChannelManager:** Avoid crash in remove method with uncached channel (#4937) ([12c909e](https://github.com/discordjs/discord.js/commit/12c909eeccb9ed6ab205d314ac8d63fc58713ae6)) +- **Message:** #system non-zero message types are not guaranteed to be system (#5108) ([bb78120](https://github.com/discordjs/discord.js/commit/bb78120283b671d1926c8707a17a9d4d515aafdd)) +- **UserFlags:** Correct early bot dev name, remove deprecated aliases (#5104) ([b509862](https://github.com/discordjs/discord.js/commit/b509862bfa924494824af5e7729bd545315d2c67)) +- **Collector:** Throw an error if a non-function was provided as filter (#5034) ([7365f40](https://github.com/discordjs/discord.js/commit/7365f403006eeb28ab10f03cbf85416272678ef7)) +- **BaseGuildEmoji:** Typo in requiresColons (#5076) ([e272fd6](https://github.com/discordjs/discord.js/commit/e272fd6909a17941d2d3e4840e75436d98a41198)) +- **MessageReaction:** Set MessageReaction#me in patch method (#5047) ([6b322f4](https://github.com/discordjs/discord.js/commit/6b322f47a0f86115dab71c06c7879fe82ea04ec4)) +- **Voice*:** Filter out silent audio from video users (#5035) ([4fcb9eb](https://github.com/discordjs/discord.js/commit/4fcb9ebf300633022e2b9867fa06a586307ff17a)) +- **GuildTemplate:** 'guild' getter (#5040) ([53529bd](https://github.com/discordjs/discord.js/commit/53529bd05deb449d5d9bbfa332470c9881d8093c)) +- **RoleManager:** Fix ID return value, change return type to collection (#4935) ([12a096b](https://github.com/discordjs/discord.js/commit/12a096b5f1c5ad518e73d1b9f50bb388928117dd)) + +## Documentation + +- Grammatical fix (#6311) ([7787a76](https://github.com/discordjs/discord.js/commit/7787a7695a3733f28b629e6a8892566cce66e6ed)) +- Grammar fixes (#6308) ([0664477](https://github.com/discordjs/discord.js/commit/06644770c8254b105d9ac1b978797d2a93cbdb83)) +- General cleanup and improvements (#6299) ([b4afcf8](https://github.com/discordjs/discord.js/commit/b4afcf8236b0fb4979deab0a097656292c59d50b)) +- Typo in ClientOptions (#6305) ([dd3a79e](https://github.com/discordjs/discord.js/commit/dd3a79eead4f01094c2c3003de717affc11fdc3c)) +- Grammar fix (#6294) ([90c2e07](https://github.com/discordjs/discord.js/commit/90c2e072bf0ab3562bd65e3a9e5e19f5c57fd69a)) +- **Client:** Mark _finalize as private (#6281) ([35fa3b3](https://github.com/discordjs/discord.js/commit/35fa3b3103998f93253a97ad1769212d60307b61)) +- Update link of the guide to v13 changes (#6273) ([6e0ea02](https://github.com/discordjs/discord.js/commit/6e0ea020c0de580911917c4b480c3402619d4341)) +- Add missing semicolon to readme (#6270) ([2c452df](https://github.com/discordjs/discord.js/commit/2c452dffb8204868ec4d7126f1345a14edb5c141)) +- Change example in readme to slash command (#6250) ([626ff85](https://github.com/discordjs/discord.js/commit/626ff85ae7616a59c95d7338c0df9baead412ce3)) +- **InteractionResponses:** Correct `@returns` on responses (#6257) ([bb56f17](https://github.com/discordjs/discord.js/commit/bb56f1776039cf4ac4d3f0e137af50ab1892853e)) +- Refactor a few `@returns` descriptions (#6228) ([82daee5](https://github.com/discordjs/discord.js/commit/82daee576a05d5ae41364bc7e528816bbf4be808)) +- **Widget:** Add the typedef WidgetChannel (#6182) ([8b52d06](https://github.com/discordjs/discord.js/commit/8b52d06ca9a2a0ea0c7de33b2e5a95223a8b4feb)) +- Update readme node version requirement (#6241) ([797727a](https://github.com/discordjs/discord.js/commit/797727ab6e5fc9e4e8aa6b0befd1a2e5ffa66f6a)) +- **GuildManager:** Correct `GuildCreateOptions` typo (#6224) ([2675b08](https://github.com/discordjs/discord.js/commit/2675b0866c70f4050ef5f60b5652ea2f108f29bd)) +- **Constants:** Document the Constants object for enum-like usage (#6208) ([cc5f1ce](https://github.com/discordjs/discord.js/commit/cc5f1ce75e48ee791d0d11262285e46e695fa19e)) +- **Guild:** Correct `GuildRolePosition` typo (#6223) ([40b127e](https://github.com/discordjs/discord.js/commit/40b127ee1eef80e52a12d5cd5f390db259000824)) +- **WelcomeChannel:** Correct guild return type (#6222) ([d310e4f](https://github.com/discordjs/discord.js/commit/d310e4fc2824aa4c4dcaaa8b93b6b45e6a8fa699)) +- **Constants:** Fix StickerTypes typedef (#6218) ([105a194](https://github.com/discordjs/discord.js/commit/105a1945468b2610cd44c3a451a798fdd6aea1b7)) +- **MessageMentions:** Fix documentation for members property (#6206) ([f44bfc4](https://github.com/discordjs/discord.js/commit/f44bfc47c7a56afd75b273659df77fad3e3e5059)) +- **Guild:** Add GuildTextChannelResolvable type definition (#6221) ([1009ce1](https://github.com/discordjs/discord.js/commit/1009ce169b33424b379d734d1ac5c80e7d2b257c)) +- **InteractionResponses:** Document missing properties (#6178) ([5e433b5](https://github.com/discordjs/discord.js/commit/5e433b599522265f7257bdd6b58f69dd23311b79)) +- **CommandInteraction:** Correct type definition of `CommandInteractionOption` (#6169) ([5e70694](https://github.com/discordjs/discord.js/commit/5e706941fcf2977ac73ed42d3207abe2364f64b1)) +- **InteractionResponses:** Reply docs example (#6079) ([b170fb5](https://github.com/discordjs/discord.js/commit/b170fb5ce8a487c385b75b92082dff25207832bc)) +- **InteractionResponses:** Generalize wording in update to fit other component interaction types (#6074) ([67e9ce4](https://github.com/discordjs/discord.js/commit/67e9ce46933c6471fad60d38255f19ce4318c7d2)) +- **ClientUser:** Fix shardId nullable (#6072) ([28b5ffb](https://github.com/discordjs/discord.js/commit/28b5ffb4d67d9b8bae25fc8adfcea7c186ad7e76)) +- Fixed several typings and MessagePayload#create JSDoc (#6059) ([4c0426c](https://github.com/discordjs/discord.js/commit/4c0426c469304d7ce8886ee9397153468fcf6274)) +- **ThreadChannel:** Fix documentation for setLocked method (#6053) ([8d9ab74](https://github.com/discordjs/discord.js/commit/8d9ab741c8037c2f6ca708e1afdc047ae4eb9eba)) +- **MessageManager:** Document options param for #edit as required (#6031) ([db60e36](https://github.com/discordjs/discord.js/commit/db60e367b4a455ae0055f8d25bd8b42139784c55)) +- Add Partial typedef (#6029) ([b62d646](https://github.com/discordjs/discord.js/commit/b62d6462711cd6a8fda5cb031d052dd343a2c3c0)) +- Fix some missed MessageComponent collector methods (#6023) ([610b0b4](https://github.com/discordjs/discord.js/commit/610b0b4dd6b6e66c05c22eb852d2a752b99d07ba)) +- ***:** Wrap optional properties with union types in parentheses (#6021) ([ec06ba7](https://github.com/discordjs/discord.js/commit/ec06ba7ad04d21e61f3e734e489607a1a5ab3568)) +- **Collector:** Properly document endReason (#6016) ([7dd1a8d](https://github.com/discordjs/discord.js/commit/7dd1a8da08830525d292059ee3bd2c86d5f964f6)) +- **CreateInviteOptions:** Fix TargetType link (#6017) ([4adfc45](https://github.com/discordjs/discord.js/commit/4adfc45b5a3c916ae44aec5df358f0ca4254f723)) +- ***:** Add class links to isX() methods (#6007) ([fbdad6e](https://github.com/discordjs/discord.js/commit/fbdad6eac38e262a7045853174607c408cd6c59c)) +- WebSocketShard#send and TextBasedChannel#send (#5998) ([726073f](https://github.com/discordjs/discord.js/commit/726073fef7e0e7bf7d8d5e4a4546d8056719b59f)) +- **Util:** Methods removed on the base object (#5990) ([d742814](https://github.com/discordjs/discord.js/commit/d742814686fc2c8dfbdcb582541155cb8df170ac)) +- **Partials:** Add link to the guide (#5982) ([58183d4](https://github.com/discordjs/discord.js/commit/58183d425ba5c2cc87f29199e5c3e2ec5a936bd1)) +- **MessageSelectMenu:** Add link to Discord docs (#5984) ([f819416](https://github.com/discordjs/discord.js/commit/f819416bac4b84c87271a7ca2126b16c887f7410)) +- **ThreadManager:** Fix FetchedThreads typedef and startMessage (#5971) ([f108746](https://github.com/discordjs/discord.js/commit/f108746c15bf4db9a887efe373ebd4906fba0889)) +- **Message:** Add ThreadChannel as a channel type (#5972) ([58bc145](https://github.com/discordjs/discord.js/commit/58bc1458d04284390d39bbf32ad5817ed7281bb7)) +- **ThreadManager:** Fix reason prop of ThreadCreateOptions (#5970) ([5dfd7dd](https://github.com/discordjs/discord.js/commit/5dfd7dd1bf367013ab12e3f56b502ae832d30a97)) +- **Channel:** Fix description of thread channel types (#5968) ([853be62](https://github.com/discordjs/discord.js/commit/853be621ac5c9a0f4d85a4bcb990b05853f8b6d6)) +- Drop string from MessageButtonStyleResolvable (#5944) ([41f718f](https://github.com/discordjs/discord.js/commit/41f718f77957e146074d36bab8b7c2eef6702db6)) +- **Features:** Resolved typo in `FATEWAY_PRESENCE_LIMITED` (#5952) ([d38b347](https://github.com/discordjs/discord.js/commit/d38b34756bbab4fdce9649c7514faa6cad080e06)) +- **Webhook:** Fix thread example in send method (#5953) ([d3d19ce](https://github.com/discordjs/discord.js/commit/d3d19ce49ba809d6d6e3ce9c9cc8188a58aeb0b7)) +- **Channel:** Make the type news_thread an inline code-block (#5940) ([630432b](https://github.com/discordjs/discord.js/commit/630432b4e2f415b912754962948edf585aebf772)) +- **Thread:** Add links to discord api docs (#5919) ([5af2ef5](https://github.com/discordjs/discord.js/commit/5af2ef5fbc7ad11281f38384c360ae79efe63b39)) +- **MessageSelectMenu:** Fix options typings (#5922) ([75837a8](https://github.com/discordjs/discord.js/commit/75837a8252246b2bb71b76f5b15b8124cb40f0d8)) +- ***:** Add links to Discord's API objects & data (#5862) ([e0efcc6](https://github.com/discordjs/discord.js/commit/e0efcc6ab0e3f060e30438c0d990c9465c6134df)) +- Move embeds field into BaseMessageOptions (#5902) ([6cebeae](https://github.com/discordjs/discord.js/commit/6cebeae15e97e29acbdaf95bc7b17a1e346a2c34)) +- **Readme:** Remove dependencies badge (#5901) ([edf6f0c](https://github.com/discordjs/discord.js/commit/edf6f0ca7012b6b678367a1b5d716d0b85e23ba3)) +- **AnonymousGuild:** Add missing extends tag (#5896) ([3d96a33](https://github.com/discordjs/discord.js/commit/3d96a33bd006d514829648d166e86d15bf0b51c8)) +- **VoiceState:** Channel can be null (#5872) ([807ea2d](https://github.com/discordjs/discord.js/commit/807ea2d3c197c7c6556bd1c894114932f6657d49)) +- **ReplyMessageOptions,MessageEditOptions:** Replaced `embed` with `embeds` (#5860) ([e3ed74a](https://github.com/discordjs/discord.js/commit/e3ed74a5e875ecd841dc1f6f1b1e78741864f980)) +- Consistent application name usage (#5853) ([96a4e7b](https://github.com/discordjs/discord.js/commit/96a4e7b86e736ddfdbcb5935f3ad02e658f221ae)) +- **TextBasedChannel#send:** Update embeds example (#5857) ([a6dae75](https://github.com/discordjs/discord.js/commit/a6dae75d3ac088e9057969e5334e993b72ad464f)) +- **ButtonInteraction:** Fix typo (#5835) ([9376ee4](https://github.com/discordjs/discord.js/commit/9376ee42f4ceb1e328cc7d299ffdce2b597c299b)) +- Removed topics and FAQ from the repository (#5820) ([9e5106d](https://github.com/discordjs/discord.js/commit/9e5106d90ec90728d688431047bf0e8cf464f24c)) +- **README:** Re-add install command, remove voice remnants (#5817) ([55ad6f0](https://github.com/discordjs/discord.js/commit/55ad6f0e23363f5b43d9ede28ba662e22c37fbf1)) +- **MessageEmbed:** Deprecation advisory for type (#5774) ([f5f3f77](https://github.com/discordjs/discord.js/commit/f5f3f772865ee98bbb44df938e0e71f9f8865c10)) +- **Messages:** Fix examples in messages after changes in #5758 (#5791) ([35c2225](https://github.com/discordjs/discord.js/commit/35c2225f5035fce47b0defc12754bda5901a453c)) +- **ApplicationCommand:** Typos in ApplicationCommandPermissionData (#5789) ([4511624](https://github.com/discordjs/discord.js/commit/4511624e790e2d02292505acb531cc9662c12c33)) +- **GuildMemberManager:** Fix docs for #search() (#5784) ([0139e10](https://github.com/discordjs/discord.js/commit/0139e102e34017f1f48d4b302edb387004ab9db1)) +- CommandInteraction#channelID is type of Snowflake (#5776) ([32d8c8b](https://github.com/discordjs/discord.js/commit/32d8c8ba940b31ab577c3de518fef382fe33a60d)) +- **InteractionDeferOptions:** Correctly define the typedef (#5769) ([4567cd4](https://github.com/discordjs/discord.js/commit/4567cd4ca23bed175da687b8cba7abd045065fa0)) +- Add new guild features (#5755) ([f7e420b](https://github.com/discordjs/discord.js/commit/f7e420bf290f5404e8b99b8896c63e178f77bbfc)) +- **Message:** Fix content param in #edit not showing as nullable (#5748) ([df9b678](https://github.com/discordjs/discord.js/commit/df9b67894ae62720e45be5d3ec99c98f8cb35601)) +- All the missing object -> Object changes (#5738) ([b317d86](https://github.com/discordjs/discord.js/commit/b317d86a931fe9edd0c8227b89c428e1256bb147)) +- Remove traces of StringResolvable (#5727) ([678b7da](https://github.com/discordjs/discord.js/commit/678b7da5b327b4a92add55ae05bf7b5b7c85c6a8)) +- **Webhook:** Update typings and docs for #editMessage (#5713) ([256d1b0](https://github.com/discordjs/discord.js/commit/256d1b0dfc8134aa8ccfb7d38ada8336e431050f)) +- **Message:** Add example for message.reply (#5332) ([7d7d2a5](https://github.com/discordjs/discord.js/commit/7d7d2a53b12617aca63211018fe5817c30dad26e)) +- **TextChannel:** Warning about setRateLimitPerUser NewsChannel (#5403) ([47bbdf4](https://github.com/discordjs/discord.js/commit/47bbdf415cd03145b16740ab88c7cca33bd7bcf5)) +- Fix InteractionDeferOptions typedef (#5694) ([add924c](https://github.com/discordjs/discord.js/commit/add924cdb20da648dd9601ff08f77b5befb4d70e)) +- **ColorResolvable:** Add Fuchsia to ColorResolvable typedef (#5676) ([7d9818e](https://github.com/discordjs/discord.js/commit/7d9818e21a1c4d65ae6a092f4e566b8d9f354ecf)) +- Add new typedef to properly doc InteractionReplyOptions (#5632) ([3589e0f](https://github.com/discordjs/discord.js/commit/3589e0f442bbe88769a3eb49cedf2dff096cf54d)) +- **Guild:** Add proper punctuation to #fetchOwner jsdoc (#5645) ([c8d20a4](https://github.com/discordjs/discord.js/commit/c8d20a456b635ce6081ed8ad17315a9a0c0244bc)) +- Correct casing of `object` -> `Object` in AuditLogChange (#5636) ([ab82caf](https://github.com/discordjs/discord.js/commit/ab82cafcde0ee259a32ef14303c1b4a64dea8fae)) +- **GuildChannelManager:** Add stage option (#5608) ([d219ecd](https://github.com/discordjs/discord.js/commit/d219ecd05c8f1f5517b511eea78d6cd3462b98ee)) +- **MessageEmbed:** MessageEmbedOptions typedef (#5466) ([4a06dd1](https://github.com/discordjs/discord.js/commit/4a06dd1295c44c519493b3734a7571a52c90e54c)) +- Update invite link, change version in the intro (#5592) ([533c247](https://github.com/discordjs/discord.js/commit/533c2471c2e73f0fb444a69e6b5ab6d12a570504)) +- **VoiceState:** `#setRequestToSpeak` and `#setSuppressed` returns a `Promise` instead of `void` (#5558) ([705d7b3](https://github.com/discordjs/discord.js/commit/705d7b36af313245d027cb12ba21c2fae7d948c1)) +- **GuildChannelManager:** Fix type options in description (#5440) ([936516c](https://github.com/discordjs/discord.js/commit/936516cb9c110ac9d41f847ef692001acd5677c3)) +- **ClientUser:** #setPresence does not return a promise (#5485) ([599f0f5](https://github.com/discordjs/discord.js/commit/599f0f5cef3fc3038db4de654f8035976df3c991)) +- **GuildChannel:** #members add cached spec, include voice (#5385) ([e848d25](https://github.com/discordjs/discord.js/commit/e848d25c86fcd4a11a7879f7dcd55d0bc93faa6d)) +- **BanOptions:** Make days description more clear (#5327) ([dedf432](https://github.com/discordjs/discord.js/commit/dedf43288ed280bbdb74927d116437ae4bf1b77d)) +- Update docs and examples for #4879 (#5323) ([685b260](https://github.com/discordjs/discord.js/commit/685b2604e481cbcc5dd77aac21bbec9599aab0a5)) +- **GuildMember:** Document owner override in permissions getter (#5320) ([62ba249](https://github.com/discordjs/discord.js/commit/62ba2499e02db6b6c5900689d149904aca9f4b22)) +- **ChannelManager:** Fetch can return Promise (#5422) ([1c8b109](https://github.com/discordjs/discord.js/commit/1c8b1096c61db84aa9b6c172164fcead34bd156a)) +- **Guild:** Clarified description of guild.features (#5352) ([941e36f](https://github.com/discordjs/discord.js/commit/941e36f48a08446a86fce9f2f167709145ab2d92)) +- **BaseManager:** Fix a typo in #resolveID description (#5180) ([640a663](https://github.com/discordjs/discord.js/commit/640a6633b10471867c1808eca40bd6c359219230)) +- **BitFields:** Remove string from BitFieldResolvable (#5122) ([9ffcd83](https://github.com/discordjs/discord.js/commit/9ffcd83027f0fc06d69df21475865ad55138de01)) +- **MessageEditOptions:** Add the flags parameter (#5126) ([2aea7dd](https://github.com/discordjs/discord.js/commit/2aea7dd9214cd2db27e18a7f48b61bd6d54753c8)) +- **RoleManager:** Fetch description (#4920) ([be0f383](https://github.com/discordjs/discord.js/commit/be0f3835683733d21dd11a039a5f18fd48a8e774)) +- **TextBasedChannel:** Indicate that replyTo cannot be system (#5115) ([5c4547e](https://github.com/discordjs/discord.js/commit/5c4547e84dc05dae865ddf60becffc3218c0ba08)) +- Permission overwrite methods descriptions (#5079) ([77d4237](https://github.com/discordjs/discord.js/commit/77d42373a119284a7bfaa98575f6d93949521364)) +- **Client:** #emojis is a BaseGuildEmojiManager (#5048) ([2685b96](https://github.com/discordjs/discord.js/commit/2685b960d7bbf47d7884545ad06aec8160907342)) +- **User:** Fix typos in jsdoc (#5060) ([09d0755](https://github.com/discordjs/discord.js/commit/09d07553ab5f4fa8643862129c17550a21e1c081)) +- **WebSocketManager:** Fix type of status (#5059) ([9f3c3e0](https://github.com/discordjs/discord.js/commit/9f3c3e091844d22793cfd2880ffc2936ce41feab)) + +## Features + +- **Collector:** Return a boolean on checkEnd (#6289) ([f473f43](https://github.com/discordjs/discord.js/commit/f473f43d081c8c703a0888acaf3fdbaf4bb20c6d)) +- **Channel:** Add isVoice() (#6297) ([5b4efd1](https://github.com/discordjs/discord.js/commit/5b4efd13c9eced97f4160f9c4c19d1c843360943)) +- **Constants:** Added more error codes (#6234) ([6b2098f](https://github.com/discordjs/discord.js/commit/6b2098f7c7592eee2aedbf19e62d3c262e159cba)) +- **MessageEmbed:** Add setFields method (#6186) ([a25e165](https://github.com/discordjs/discord.js/commit/a25e16599a2b3d82aabebcaeaef663680f2982a8)) +- **ThreadChannel:** Add fetchOwner() method (#6207) ([331a9d3](https://github.com/discordjs/discord.js/commit/331a9d3ffc6e45c068bfb454e05b863130559d42)) +- **Util:** Add SweptCollection for auto sweeping of caches (#6110) ([dbb59ba](https://github.com/discordjs/discord.js/commit/dbb59ba1b29b2f75dd8faab5c3004ade51598abc)) +- **WebhookClient:** Allow creation of clients via URLs (#6192) ([e000af5](https://github.com/discordjs/discord.js/commit/e000af5c98483046db25a46e905ed244bdcfe262)) +- **FetchRecommendedShardsOptions:** Account for large bot sharding (#6184) ([19b242a](https://github.com/discordjs/discord.js/commit/19b242ac10aa9b32c1a45a9178c97481d62a9400)) +- **GuildAuditLogs:** Add threads (#6195) ([26ba0e1](https://github.com/discordjs/discord.js/commit/26ba0e10368ff7c4b7a79a37450c8c0784185fb7)) +- **Guild:** Add fetchWidget() for getting widget data (#6180) ([b22272f](https://github.com/discordjs/discord.js/commit/b22272f86075ac5585abf05f54cf05187c4eabf9)) +- **ApplicationCommandOptionType:** Add NUMBER (10) (#6128) ([2f1cc1f](https://github.com/discordjs/discord.js/commit/2f1cc1fc27f5af6d9b88cdc353605a3ddf76e579)) +- **CommandInteractionOptionResolver:** Add sub-command required option (#6165) ([690c121](https://github.com/discordjs/discord.js/commit/690c121aa9575f7b878030229b0fedd56c3a1a87)) +- **Sticker:** Updates, sticker packs, and guild stickers (#5867) ([54d6a3a](https://github.com/discordjs/discord.js/commit/54d6a3a0708105acd6a3a709a8e1636d00c81fc8)) +- **GuildPreview:** Add createdAt & createdTimestamp (#6130) ([9f039a8](https://github.com/discordjs/discord.js/commit/9f039a86798352e360d7e47d62d1b9c011c2ec71)) +- **CommandInteraction:** Add CommandInteractionOptionResolver (#6107) ([f293132](https://github.com/discordjs/discord.js/commit/f293132345294e33e80866272feaedf2e4a70d45)) +- Make Instance#fetch force true by default, and fix force parameter (#6116) ([366f3c9](https://github.com/discordjs/discord.js/commit/366f3c910a370ff1e184afae054f957db9a98293)) +- **REST:** Append additional information to the required User Agent (#6112) ([f200f14](https://github.com/discordjs/discord.js/commit/f200f14a409a56df5efe788de0ae45fc061bb46d)) +- **Client:** Add conditional ready typings (#6073) ([4206e35](https://github.com/discordjs/discord.js/commit/4206e35b2316431c1a009664636dcda85d39fff8)) +- Allow channels from uncached guilds to be returned from fetch (#6034) ([755c180](https://github.com/discordjs/discord.js/commit/755c180659c125532fe6f8e33e6c3b56e275311b)) +- **Collector:** Better types for events (#6058) ([c0a814f](https://github.com/discordjs/discord.js/commit/c0a814fdb35cb1fa7418bb3bdd3cec0a8a130bf5)) +- **Message:** Add 'failIfNotExists' to ClientOptions (#6038) ([28c5724](https://github.com/discordjs/discord.js/commit/28c57246d1d3cd7a22384ddc7970ab5263a4ace0)) +- **LimitedCollection:** Export LimitedCollection (#6043) ([31d3129](https://github.com/discordjs/discord.js/commit/31d31293d314492562104f02511d4d1e117711f3)) +- **Client:** Enforce passing scopes to generateInvite (#6024) ([c6e5521](https://github.com/discordjs/discord.js/commit/c6e55216874f1892727db927f55db3de6a1712d8)) +- **Managers:** ✨ Add GuildInviteManager (#5889) ([9e08b02](https://github.com/discordjs/discord.js/commit/9e08b02df2c9b31cfd91eac3ad008dab94855a59)) +- **Managers:** Add customizable caching for managers (#6013) ([8c7cb0e](https://github.com/discordjs/discord.js/commit/8c7cb0eff8e169836decf3c9843d7fa0998a5e84)) +- **InteractionCollector:** Reworked to be more generic (#5999) ([374c779](https://github.com/discordjs/discord.js/commit/374c779f7f8bbaa9bf06fa2b5b16f60da5095b5c)) +- PermissionOverwriteManager (#5318) ([e7ad2fe](https://github.com/discordjs/discord.js/commit/e7ad2fe20772915dcf3e9c4ae92a072b9c918a07)) +- **Formatters:** Added new URL utilities and docs (#6014) ([98e45a5](https://github.com/discordjs/discord.js/commit/98e45a59957842fd1ee55d59e30ee868f985e15d)) +- **RoleManager:** Added `edit` method, alias `Role#edit` (#5983) ([1e73c25](https://github.com/discordjs/discord.js/commit/1e73c25fbfc9b3cb62bed719dc79de25f67707ee)) +- **StageChannel:** Add createStageInstance method & use better naming convention (#5951) ([71fb33a](https://github.com/discordjs/discord.js/commit/71fb33a5fea7398598b603a888e07519fddd56a9)) +- **Channel:** Add isThread typeguard for better TS support (#5978) ([b7ed675](https://github.com/discordjs/discord.js/commit/b7ed6752ac98e56e79b6fd9fd3a5e47572454d85)) +- **Util:** Added formatters (#5976) ([8c7a28f](https://github.com/discordjs/discord.js/commit/8c7a28f211dd05ec67cbce667b1d591ed59a40c6)) +- **Interactions:** Option to auto-fetch replies (#5831) ([5e28ff8](https://github.com/discordjs/discord.js/commit/5e28ff83cbc04850077cc2f97bb2039c55b3b8ea)) +- **Interaction:** Add guild guard (#5955) ([87e8cdd](https://github.com/discordjs/discord.js/commit/87e8cdd3eba29ae1d741aa86572f1731b05c12fb)) +- **Managers:** New ApplicationCommandPermissionsManager (#5897) ([6264c60](https://github.com/discordjs/discord.js/commit/6264c60e97da93b311a7a9fd92e16e59de94104a)) +- **MessageComponentInteraction:** Component getter (#5840) ([1439183](https://github.com/discordjs/discord.js/commit/1439183ad3f84b2b7500aaead2cf8779199b47d4)) +- **MessageMentions:** Add repliedUser (#5905) ([2616125](https://github.com/discordjs/discord.js/commit/261612596d37aa6fb48ae070d358b3fde953c769)) +- **MessageSelectMenu:** Droppybois (#5692) ([e5fcf0b](https://github.com/discordjs/discord.js/commit/e5fcf0bee53a15d7a87d4a5cf4e206823d6e7d87)) +- Api v9 and threads (#5570) ([7346621](https://github.com/discordjs/discord.js/commit/7346621d15c96906d5b848c483669750ff9c6e12)) +- **InteractionCreate:** Move to an Action handler (#5906) ([ea49f7c](https://github.com/discordjs/discord.js/commit/ea49f7ca74892495dd53f8d315086035c1814149)) +- Add missing APIError codes (#5898) ([d930c81](https://github.com/discordjs/discord.js/commit/d930c812bb4511a688b76d9bf1ac66e28bff033e)) +- **Interactions:** Improve error handling for ephemeral responses (#5892) ([bd9f56a](https://github.com/discordjs/discord.js/commit/bd9f56af9a0a1fb12cfa30d9e2e0ad680eb80949)) +- Add APIError codes for stage instance (#5888) ([c850ae1](https://github.com/discordjs/discord.js/commit/c850ae10270076c4b2e10b130dd8f88eed4ed201)) +- **WelcomeScreen:** Welcome screens (#5490) ([44e2ee7](https://github.com/discordjs/discord.js/commit/44e2ee7b20dbec79c993dbc1f30ddb643d943347)) +- Stage instance invite (#5856) ([2d12db0](https://github.com/discordjs/discord.js/commit/2d12db000f2a0a22a8919d7a63989a6e762ae335)) +- **Guild:** Add enum for premium_tier (#5868) ([a3cbcca](https://github.com/discordjs/discord.js/commit/a3cbcca13da1af416c219bd64a0a6e84bb87a057)) +- ***:** Use enums for consistency and speed (#5843) ([f7eeccb](https://github.com/discordjs/discord.js/commit/f7eeccba4b7015496df811f10cc2da2b0fab0630)) +- **Widget:** Wrapper for widget.json (#5619) ([038ee99](https://github.com/discordjs/discord.js/commit/038ee99604cded41d4c67edf4bd6bc7969712f52)) +- Stage instances (#5749) ([918921e](https://github.com/discordjs/discord.js/commit/918921e8211fc16e9b12d2502f3168264246ea22)) +- ***:** Document and support embeds field in message create endpoint (#5792) ([99ff715](https://github.com/discordjs/discord.js/commit/99ff7151379fe03a1cfd52f252c0e6fc892d7776)) +- **Guild:** Add enum for mfa_level (#5797) ([ffabec3](https://github.com/discordjs/discord.js/commit/ffabec3a5e3651e5a0b8bcac83ee26bb909695fa)) +- **RequestHandler:** Emit more info when a rate limit was hit (#5801) ([18ac72e](https://github.com/discordjs/discord.js/commit/18ac72e457fa137d7f7f7bde876436ff643b4a63)) +- Add new APIErrors (#5794) ([e0ab836](https://github.com/discordjs/discord.js/commit/e0ab836b2d88caf0d9e1f9eba76ae46be9df0554)) +- **Util:** Allow array for StringOptions' char (#5566) ([fbcbb29](https://github.com/discordjs/discord.js/commit/fbcbb29884a35308a7af2169f5f9ae5658c458e8)) +- **GuildAuditLogs:** Make #target a channel for channel related logs (#5781) ([eb0291d](https://github.com/discordjs/discord.js/commit/eb0291d9a5078836183c1b63ea96461ec112f96e)) +- **Sharding*:** Contexts for broadcastEval (#5756) ([c6aeebb](https://github.com/discordjs/discord.js/commit/c6aeebb18d6b969f7c8bdb1b719883d4384dd03e)) +- **Voice:** Implement support for @discordjs/voice (#5402) ([7b2e12b](https://github.com/discordjs/discord.js/commit/7b2e12b102984abf61132e1057558ef7f04e6d83)) +- General component improvements (#5787) ([c4f1c75](https://github.com/discordjs/discord.js/commit/c4f1c75efa1cff1f9c775a266dccbe581305e79d)) +- **GuildChannelManager:** Add 'fetch' method (#4966) ([e798fb7](https://github.com/discordjs/discord.js/commit/e798fb720ee5ced008471fe899337f6817936770)) +- **Rest:** Optional ratelimit errors (#5659) ([16f261e](https://github.com/discordjs/discord.js/commit/16f261e773a353c54a75f38008f9b28435ae6603)) +- Promisified single interaction collection (#5770) ([c2b3ed0](https://github.com/discordjs/discord.js/commit/c2b3ed09a0ec7f9b7453d0bcf9f2900e408f5001)) +- **Message:** ApplicationID for interaction responses (#5765) ([65dc00f](https://github.com/discordjs/discord.js/commit/65dc00f3210065015684b6d585f6747bd5ebadf1)) +- **Client:** Make use of with_expiration in #fetchInvite (#5764) ([bf191df](https://github.com/discordjs/discord.js/commit/bf191df9c033404da3e717f73306cdb3f659fafc)) +- **Interactions:** Add InteractionWebhook for better internals (#5712) ([dec191a](https://github.com/discordjs/discord.js/commit/dec191aa1e4f22690285ca06c6eee7e6086b2930)) +- **MessageComponents:** Clickybois (MessageButton, MessageActionRow, associated Collectors) (#5674) ([cbd7f2b](https://github.com/discordjs/discord.js/commit/cbd7f2b9aa44a9240947ed716d0e72257ac499f7)) +- **Esm:** Use `gen-esm-wrapper` instead of manually making the file (#5700) ([db0d7d4](https://github.com/discordjs/discord.js/commit/db0d7d4ea8e7b2bae4d1548e5617875b5ae0bbd4)) +- **Rest:** Show the data that is sent to Discord when an errors occurs (#5701) ([ef92339](https://github.com/discordjs/discord.js/commit/ef92339d073f82cdaa2bc69f7be8443ec16789a7)) +- **CommandInteraction:** Make options a collection (#5705) ([fdad140](https://github.com/discordjs/discord.js/commit/fdad14099779e61cb84dcd1cb2497e0e853a6144)) +- ***:** Enforce strings (#4880) ([7b85a72](https://github.com/discordjs/discord.js/commit/7b85a7259f563ab14ae6c0a665a3dd43c486fde4)) + - **BREAKING CHANGE:** Removes all Resolvables for only string inputs + - **Co-authored-by:** SpaceEEC +- **Message:** Allow editing files into messages (#5718) ([b212b64](https://github.com/discordjs/discord.js/commit/b212b64214ecee4f6118e78f9b90f3d3da574ecc)) +- Easier guards for channelUpdate (#5716) ([d52bcd4](https://github.com/discordjs/discord.js/commit/d52bcd46ec5985f9f18da37ba9d7d77209f58337)) +- Add support for fetching multiple guilds (#5472) ([48d6850](https://github.com/discordjs/discord.js/commit/48d6850d9a8c34f407a22b6b401f2ed74415acd0)) +- **Guild:** Add the new nsfw_level property (#5660) ([3fe7add](https://github.com/discordjs/discord.js/commit/3fe7add2c5c07023d3cc83c06bba846c1328e446)) +- InteractionDeferOptions (#5641) ([ed593c9](https://github.com/discordjs/discord.js/commit/ed593c91fb7b87ae8b512c6f127e12f33c9631b6)) +- **CommandInteraction:** Ephemeral followup messages (#5618) ([68b40dd](https://github.com/discordjs/discord.js/commit/68b40dd91df70593c8271bd455fd0b3c6d19d334)) +- **GuildChannel:** CreateInvite target options (#5514) ([f831872](https://github.com/discordjs/discord.js/commit/f831872125214e39c8866ce1cf7c63159a3dba39)) +- **MessageEmbed:** Remove normalizeField validation (#5459) ([ff2f737](https://github.com/discordjs/discord.js/commit/ff2f7372f23f901620d3afff215f33be487521d5)) +- **GuildMemberManager:** Extend API coverage (#4872) ([2e2464b](https://github.com/discordjs/discord.js/commit/2e2464bf07c2b2e08d396b093126f887d19aec57)) +- **GuildChannel:** Make createOverwrite and updateOverwrite not dependent on cache (#5489) ([58763b0](https://github.com/discordjs/discord.js/commit/58763b0e91b78d068121521ea3e853627b3ea325)) +- **MessageManager:** Extend API coverage (#4869) ([c56c4a8](https://github.com/discordjs/discord.js/commit/c56c4a8dc86b0f37dd7c9ee9a4d422a52070b50c)) +- **Message:** Add ReplyMessageOptions for #reply (#5296) ([7ce741d](https://github.com/discordjs/discord.js/commit/7ce741dacd06fd8af0ab501e38be08cf6b506a62)) +- **ShardingManager:** Add options typings (#5583) ([31b4390](https://github.com/discordjs/discord.js/commit/31b4390042e6557f7f9d2f258c79ea50ba4929e2)) +- **GuildChannel#clone:** Support for position property (#5236) ([d455cb6](https://github.com/discordjs/discord.js/commit/d455cb65a6188e7d7b6720848b5ce37dbf8b5dff)) +- GuildBanManager (#5276) ([6d09160](https://github.com/discordjs/discord.js/commit/6d09160f5ba878fcd1f8bae88b5e6347e632cd2c)) +- **APIRequest:** Support setting global headers in HTTPOptions (#5586) ([135abcc](https://github.com/discordjs/discord.js/commit/135abccd9c75c33c8510cdcbe33b0dea4198fe33)) +- **Message:** Replace referencedMessage with fetchReference (#5577) ([1398431](https://github.com/discordjs/discord.js/commit/1398431bca9a3743758295f1effa2e7f6c35093e)) +- **Message:** Allow removing attachments (#5557) ([ca9e5a0](https://github.com/discordjs/discord.js/commit/ca9e5a0ee1afca544192df1daef744d5a35f1727)) +- Add support for application command events (#5596) ([9f74f95](https://github.com/discordjs/discord.js/commit/9f74f95f69f4aa8a9a23c160e25dc61010c0a8e0)) +- Interactions (#5448) ([f7643f7](https://github.com/discordjs/discord.js/commit/f7643f7bbe64003ad8b221006190dd15529651e9)) +- **Sticker:** Added Sticker (#4909) ([026afc2](https://github.com/discordjs/discord.js/commit/026afc2c1a88bc210c973bcf235fef3484571111)) +- **Webhook:** Add 'fetchMessage' method (#5530) ([63398d6](https://github.com/discordjs/discord.js/commit/63398d6ae46f0487c4d5d8bfe823952a803e4a5a)) +- **GuildManager:** Allow system channel flags in create (#5504) ([d9fa180](https://github.com/discordjs/discord.js/commit/d9fa180cf93f1a339192ae95dfb512482bd0ed0b)) +- **Guild:** SetChannelPositions parent, lockPermissions keys (#5507) ([4866e26](https://github.com/discordjs/discord.js/commit/4866e2672f28bfc481cf03533f7ba259050c80f4)) +- **Webhook:** SourceGuild, sourceChannel, improve owner (#5508) ([116ecf2](https://github.com/discordjs/discord.js/commit/116ecf246e89db4d629a13877a440260c7504e30)) +- **Guild:** Allow description and features in edit (#5505) ([8a059cc](https://github.com/discordjs/discord.js/commit/8a059cccb8ecbd0bf60d2ed395a8de0806b3395a)) +- **Util:** Make `cleanContent` take a channel instead of a message (#5535) ([f1c0c04](https://github.com/discordjs/discord.js/commit/f1c0c043b516f4158ab9d473419e3b5e125a4c03)) +- **Guild:** Nsfw guilds (#5525) ([5968323](https://github.com/discordjs/discord.js/commit/596832371cefef7739e8d714248d1c6d438eb8df)) +- **Guild:** Replace `owner` with `fetchOwner` (#5480) ([1be67b8](https://github.com/discordjs/discord.js/commit/1be67b88516b104073e46574a180498bad2aa02b)) +- **GuildFeatures:** Added the new screening features (#5328) ([3c175cb](https://github.com/discordjs/discord.js/commit/3c175cb5116fe50ba3084163565dd244a25b657f)) +- **MessageAttachment:** Support for #contentType (#5481) ([7b161f9](https://github.com/discordjs/discord.js/commit/7b161f93a040a6bdce6e7e26d7a3c3b6c61a04fd)) +- **SysChanFlags:** New flag and rename in sync with client (#5506) ([fe93a7e](https://github.com/discordjs/discord.js/commit/fe93a7e084189b54b8af82461809dee1da112b75)) +- Move internal regular expressions to static properties (#5384) ([207735c](https://github.com/discordjs/discord.js/commit/207735cedcf9a998571a328c7c7b2414d3ebe9d5)) +- **typings:** Add ShardingManager.shardList to type definitions (#5446) ([32b0d71](https://github.com/discordjs/discord.js/commit/32b0d71af7e3afc401898753b1e8cb1e991b70e7)) +- **typings:** Explicitly type PremiumTier and Collectors (#5458) ([7c49612](https://github.com/discordjs/discord.js/commit/7c49612d4bedfe13f7ed676c125cc7f7f33596df)) +- Make changes to PresenceData typings and docs (#5317) ([eb43ce4](https://github.com/discordjs/discord.js/commit/eb43ce4d4fb4d634696c5b0f026174dc0e435fe3)) +- **MessageTypes:** Add 16 and 17 (#4685) ([c9107e3](https://github.com/discordjs/discord.js/commit/c9107e35fa8b74f8ad7a7d3ee7d7178a35790e18)) +- **GuildMemberManager:** Add 'search' method (#4154) ([0ba2bcb](https://github.com/discordjs/discord.js/commit/0ba2bcb54582b38ee8eec8d1547b979bf1b7c755)) +- Stage channels (#5456) ([eec7cf7](https://github.com/discordjs/discord.js/commit/eec7cf7634653fc02ee4f94e970960174a0e6d1b)) +- **Activity:** Add missing fields (#4984) ([63ff6a0](https://github.com/discordjs/discord.js/commit/63ff6a07ebcba7e9134e3902e338e8dc6564ee63)) +- **Webhook:** Add '(edit|delete)Message' methods (#5223) ([7cabc1c](https://github.com/discordjs/discord.js/commit/7cabc1c490ddd9518528e12a58a746d65e43d4eb)) +- **Rest:** Better handling of global rate limit and invalid request tracking (#4711) ([9d2d606](https://github.com/discordjs/discord.js/commit/9d2d60691eb4bde729f40fb633ae257cf5bc6545)) +- **Application:** Application flags (#5147) ([06e9d86](https://github.com/discordjs/discord.js/commit/06e9d86cb3dd11708c9cdd81f15970979e5b090d)) +- **WebSocketManager:** Let identify throw on depleted limits (#5283) ([624a446](https://github.com/discordjs/discord.js/commit/624a4464ca86bfa0b095ecb2cdaac2e8030cc413)) +- Jsdelivr default file support (#5424) ([f469402](https://github.com/discordjs/discord.js/commit/f46940228e9f82db4af09ae2f2dad684db0d74ed)) +- **Client:** Add InviteGenerationOptions#additionalScopes (#5215) ([ae3c3d8](https://github.com/discordjs/discord.js/commit/ae3c3d80ee603fc46a28140107cb90c81da0afc9)) +- **ReactionCollector:** Event create (#4108) ([09d1f2f](https://github.com/discordjs/discord.js/commit/09d1f2f18f5ec536bb25156553986fee51c80d1e)) +- **ShardingManager:** Allow b-Eval/fetchClientValues on a specific shard when not all are ready (#5222) ([001676c](https://github.com/discordjs/discord.js/commit/001676c7a97f4e44c6601dd84aa0354ea94b7c25)) +- **GuildChannel:** Support conversion between text and news (#5022) ([5ac3b57](https://github.com/discordjs/discord.js/commit/5ac3b57f9bd53d1c20549a70942b023826f6f726)) +- **BitField:** Move problematic bit into the error message (#5228) ([273e955](https://github.com/discordjs/discord.js/commit/273e9557be68eb1c2466f29e1c41e9b146a777c1)) +- **ClientEvents:** Add tuple labels to event arguments (#5225) ([764966e](https://github.com/discordjs/discord.js/commit/764966e398e693a5ec868bc22d722f8518656b3a)) +- **GuildMember:** #pending (#5121) ([c4c8171](https://github.com/discordjs/discord.js/commit/c4c817116f868cedb4ec20bcbf90b9b3d382621e)) +- **GuildEmojiManager:** Implement GuildEmojiManager#fetch (#4933) ([ffe3140](https://github.com/discordjs/discord.js/commit/ffe31405ff559202be55473db7e8b34894fbf4a7)) +- **Browser:** Remove browser � (#5113) ([0a591a9](https://github.com/discordjs/discord.js/commit/0a591a96974ab8b2aef7d7b9b64ec63d0fbe4ec4)) +- **Role:** Role tags (#4628) ([d6234b7](https://github.com/discordjs/discord.js/commit/d6234b764ecbf12ebc0a795429a6aa3a650f5a6c)) +- **APIMessage:** Remove disableMentions (#4836) ([4107899](https://github.com/discordjs/discord.js/commit/41078997aefce2a9e683b9805aad6436612a3aa7)) +- **GuildMember:** Make GuildMember#setNickname first param nullable (#5070) ([d70127c](https://github.com/discordjs/discord.js/commit/d70127cee69e66e87702a6db4b58ad12aa85f96c)) +- **Message|TextChannel:** Inline replies (#4874) ([60e5a0e](https://github.com/discordjs/discord.js/commit/60e5a0e46f57cf297b66f1a940d24a20f46b5319)) +- BaseGuildEmojiManager (#4934) ([8d650a7](https://github.com/discordjs/discord.js/commit/8d650a72509a3f369ae31ec421d1892d182175e4)) +- **Message:** Added string type for message nonce (#4782) ([4b555fd](https://github.com/discordjs/discord.js/commit/4b555fdf4c3b35fa0ea284f9cd56765ecb608b89)) +- **GuildMemberManager:** Throw TypeError on incorrect GuildMemberManager#ban params (#4816) ([863734a](https://github.com/discordjs/discord.js/commit/863734aba46c5e0d04fbc83d2ed314726bddcbc2)) + +## Refactor + +- Replace dependency with initial implementation (#6310) ([d5e28c2](https://github.com/discordjs/discord.js/commit/d5e28c22988376825d5e11fbdcf2e99ba8ebc2f4)) +- **Interaction:** Rename defer to deferReply (#6306) ([4241feb](https://github.com/discordjs/discord.js/commit/4241febe24e6b552083b3d0ee1a086409b900714)) +- **InteractionCollector:** Only keep Ids of objects (#6084) ([b639b6c](https://github.com/discordjs/discord.js/commit/b639b6c6533bde64f795b1171263961fa7abd3af)) +- **Channels:** Fix incorrectly shared properties (#6262) ([5be471b](https://github.com/discordjs/discord.js/commit/5be471b47dd65616e6b3ee8afdc4a395ef60e1cc)) +- Added `TextBasedChannels` type (#6286) ([61db5f7](https://github.com/discordjs/discord.js/commit/61db5f7618e30c0502ceb6484a4fe861542088b7)) +- **MessageComponents:** Default setDisabled to true (#6279) ([3c7c822](https://github.com/discordjs/discord.js/commit/3c7c82292a914eb9bb9eb77c08a78f0861330687)) +- ***:** Use async functions (#6210) ([e2e4f65](https://github.com/discordjs/discord.js/commit/e2e4f6518b3be85b1e05efff108f1459cc3082df)) +- **GuildChannel:** Use filter method for #members (#6253) ([7c54076](https://github.com/discordjs/discord.js/commit/7c540764f05cf0a7d312e468f828f427ec0f7541)) +- **VoiceState:** Change kick to disconnect (#6251) ([24931d7](https://github.com/discordjs/discord.js/commit/24931d713b947a568bb45a327bd6ba29966266b2)) +- Merge collections with keeping entries at max (#6242) ([bb5e648](https://github.com/discordjs/discord.js/commit/bb5e648f3daa4c34ad8379eb095a25d56ebfc242)) +- **Message:** Accept a single object instead of 3 arguments (#6244) ([434e330](https://github.com/discordjs/discord.js/commit/434e3307540111ec82e1234656f359188e843320)) +- Move member adding to manager (#6231) ([198a5c4](https://github.com/discordjs/discord.js/commit/198a5c490d6d60316f3201ad2c84654e05d43aff)) +- Use guild-wide route for fetching active threads (#6193) ([2a07055](https://github.com/discordjs/discord.js/commit/2a07055cc0bd9d7e1ac2e36066d08f15ebd9414b)) +- Remove extended collection (#6246) ([00bae4f](https://github.com/discordjs/discord.js/commit/00bae4fe6b9ecf18a87ea622f6a2c646031daca7)) +- Strengthen channel typings in appropriate places (#6232) ([65ae064](https://github.com/discordjs/discord.js/commit/65ae06429d595bcd60dfc5642e7839840c484e3c)) +- **Message:** Make thread a getter for accuracy (#6215) ([5f710ae](https://github.com/discordjs/discord.js/commit/5f710ae5597808f770e113152fcae39d40294a00)) +- Match subcommand (group) name casing with Discord's (#6204) ([a69e2f7](https://github.com/discordjs/discord.js/commit/a69e2f79043117eb1ce52b98e4c0a5c58f18d6ea)) +- Only cache commands from own user (#6161) ([4886ae2](https://github.com/discordjs/discord.js/commit/4886ae23abaff1f4f1e7f5d15c4f2670a9de54be)) +- **Message:** Combine patch methods (#6071) ([cd47a52](https://github.com/discordjs/discord.js/commit/cd47a524afa9cd5af0dfe05d98fa7ab473192bcc)) +- **CommandInteractionOptionResolver:** Add readonly data property (#6156) ([328501b](https://github.com/discordjs/discord.js/commit/328501bd8ee343edfd3492f8ba81d5c57006d496)) +- **OptionResolver:** Accept single type instead of an array (#6154) ([5addcd1](https://github.com/discordjs/discord.js/commit/5addcd15d8e6e151a3c4ad05d0fc567ab6bd6bfd)) +- Change const enums to interfaces (#6078) ([63ce065](https://github.com/discordjs/discord.js/commit/63ce065fc3cee478a593cc278e40775dbbcdc6a6)) +- **ActionsManager:** Less complex code (#6102) ([4d53d0f](https://github.com/discordjs/discord.js/commit/4d53d0fd115e3a31e7a431c5dece8fc251c2115d)) +- Remove timer utilities from Client (#6113) ([5ca97c9](https://github.com/discordjs/discord.js/commit/5ca97c93515d4dfaa2b4951a020abc000115ed4d)) +- Remove typing caching (#6114) ([576eee8](https://github.com/discordjs/discord.js/commit/576eee8de26bf9e62f5487f6e25e9d5f5eaaa882)) +- **Channel:** Change channel types to UPPER_CASE (#6035) ([6301728](https://github.com/discordjs/discord.js/commit/6301728d35cfdc8b3ea62db5f73298de99a0902a)) +- **Managers:** Rename add to _add (#6060) ([9cd5e7e](https://github.com/discordjs/discord.js/commit/9cd5e7ed6104e40c038d17456abd0cc4a3778b9e)) +- **ApplicationCommandManager:** Remove unused assignment (#6063) ([98a5b52](https://github.com/discordjs/discord.js/commit/98a5b52d8bb09ccca5c30d6ab583bc72d3f1b6ff)) +- Rename `Constants.OPCode` to `Opcode`, moved objects to enums (#6065) ([4eb3a2a](https://github.com/discordjs/discord.js/commit/4eb3a2a885efd480a953a23c5e5289912364ccd4)) +- **PresenceManager:** Have Presence extend Base and simplify add (#6056) ([ded93fe](https://github.com/discordjs/discord.js/commit/ded93feb5759ded880ab0f00ffc2ecffa8516bb9)) +- **Presences:** Remove from User, nullable on GuildMember (#6055) ([afbd5db](https://github.com/discordjs/discord.js/commit/afbd5db404c711fd966122a97ecf63493b35ff15)) +- **Intents:** Remove computed shorts (#6050) ([3022b0f](https://github.com/discordjs/discord.js/commit/3022b0f5b1bcdd069d52a68994b2befa18d749e4)) +- Remove `lastMessage` properties from `User` and `GuildMember` (#6046) ([1a27f57](https://github.com/discordjs/discord.js/commit/1a27f57950d51597f5c642a8c2a680a47df8c7a5)) +- **typings:** General cleanup (#6047) ([676118a](https://github.com/discordjs/discord.js/commit/676118ab0f5cc36cf0fdd7cb897ae68020394778)) +- Change `xID` to `xId` (#6036) ([a7c6678](https://github.com/discordjs/discord.js/commit/a7c6678c7246025c4b358a5396dbacf4a73148ee)) +- Improve typings and docs related to threads (#5991) ([4bf4980](https://github.com/discordjs/discord.js/commit/4bf49809f240430987f28795124e7dbbe5cbba8e)) +- **Util:** Make class extend `null` (#6000) ([2446ff5](https://github.com/discordjs/discord.js/commit/2446ff525145afa3d5b4b5e822c3e7d8b010a4c0)) +- Rename events to be consistent with WS names (#6010) ([a11a105](https://github.com/discordjs/discord.js/commit/a11a10525b39fb057e50ac311450ea43acdbfb5b)) +- New node features (#5132) ([1e8f012](https://github.com/discordjs/discord.js/commit/1e8f01253e85891b78c2b4ae866ce5ae56add413)) +- **Presence:** Remove second assignment of `syncID` (#5956) ([fb8d516](https://github.com/discordjs/discord.js/commit/fb8d5166a8b2264b69bfd39e95798d984f971155)) +- **MessagePayload:** Rename APIMessage (#5921) ([b15d825](https://github.com/discordjs/discord.js/commit/b15d825bb3acdf432b94d8413a7a964ccc8734bc)) +- Removed `code` and `split` options (#5918) ([985d4d6](https://github.com/discordjs/discord.js/commit/985d4d6a438fc9123264f6a1c600f34fccc1825f)) + - **Co-authored-by:** Jan <66554238+vaporox@users.noreply.github.com> + - **BREAKING CHANGE:** Removed `APIMessage#split` + - **BREAKING CHANGE:** Removed `MessageEditOptions#code` + - **BREAKING CHANGE:** Removed `BaseMessageOptions#code` + - **BREAKING CHANGE:** Removed `BaseMessageOptions#split` +- **Collector:** Make filter an option (#5903) ([0d0c8f0](https://github.com/discordjs/discord.js/commit/0d0c8f07f2535dd315ca95abe35e848c13d0ddf5)) +- Remove exported shortcuts to util methods (#5904) ([1816a93](https://github.com/discordjs/discord.js/commit/1816a93b1b1b2bae47e8651e76fa53699de8421d)) +- **Package:** Remove `runkitExampleFilename` (#5866) ([6cceb93](https://github.com/discordjs/discord.js/commit/6cceb936a796e044488e188b5939b81b11e69d23)) +- **awaitMessageComponentInteraction:** Use options object for lib consistency (#5852) ([9dda9b7](https://github.com/discordjs/discord.js/commit/9dda9b742f68dae6b2b260edcb1e5f627424693d)) +- ***:** Make typedefs for all options params (#5785) ([1ac9a2e](https://github.com/discordjs/discord.js/commit/1ac9a2eb5bfef6d009de7c54d3fac5e3d4a5afdc)) +- **GuildPreviewEmoji:** Make roles an array (#5720) ([4dbcaf7](https://github.com/discordjs/discord.js/commit/4dbcaf76c361b2e63e9deb08556da43ecde7909e)) +- **APIMessage:** Remove unused declarations (#5836) ([02693bc](https://github.com/discordjs/discord.js/commit/02693bc02f45980d8165820a103220f0027b96b7)) +- Fetch options consistency (#5824) ([7111b4c](https://github.com/discordjs/discord.js/commit/7111b4cd5f2690e7b6c6626025c2a6041bd64db2)) +- **GuildChannel:** Use Permissions.defaultBit over 0n (#5822) ([19d0405](https://github.com/discordjs/discord.js/commit/19d0405aa5566f41028da83446e3bd22329d742f)) +- Remove all voice code (#5818) ([fdef940](https://github.com/discordjs/discord.js/commit/fdef9401274601f6a8def4322aa4f0bb3a278890)) +- **MessageEmbed:** Remove files (#5813) ([e3e466d](https://github.com/discordjs/discord.js/commit/e3e466d3e56145110ba0cfcba7b3c594267d36fb)) +- **Guild:** Remove region from guild and manager methods (#5766) ([a1f763e](https://github.com/discordjs/discord.js/commit/a1f763ee75a7d906bbe727f616e33206dcc6792c)) +- Enforce single param on sending/editing methods (#5758) ([0467a90](https://github.com/discordjs/discord.js/commit/0467a9075fbba538c56e0cffdd2da11f7867516a)) +- GuildAvailable, typingStop from Constants (#4861) ([dda5ee2](https://github.com/discordjs/discord.js/commit/dda5ee2e9f0839d3e42d25114ae1b47355cdfd27)) +- **Interactions:** Move Structures import out of switch block (#5763) ([84e5b07](https://github.com/discordjs/discord.js/commit/84e5b075b4214c5432e380840c90091643af07fa)) +- Remove _roles from pseudo-managers (#5721) ([53d952a](https://github.com/discordjs/discord.js/commit/53d952a4ce049cd1b88d2ef4dc3dcdae487b8f00)) +- **Deps:** Use async-queue package (#5662) ([14c6802](https://github.com/discordjs/discord.js/commit/14c6802438c47a42ecb5daeb59442361ceb69213)) +- ***:** Return the invalid element when erroring from Array (#5314) ([eaf332f](https://github.com/discordjs/discord.js/commit/eaf332f83fd4376f1cee6d2c9f0939395e84740c)) +- **MessageOptions:** Move replyTo to reply#messageReference and add failIfNotExists (#5298) ([1ecda83](https://github.com/discordjs/discord.js/commit/1ecda83da7953052977e6297143b82f89adf1058)) +- **Sticker:** Rename Snowflake variable (#5575) ([af00ec8](https://github.com/discordjs/discord.js/commit/af00ec8970e77ea8a0afd21571eeeef9c554e1ec)) +- **RequestHandler:** Use x-ratelimit-reset-after when present (#5511) ([a5d41c9](https://github.com/discordjs/discord.js/commit/a5d41c9f6c4adc652f56c55da4f05da63873c9ef)) +- Remove error-silencing try/catch on event handler imports (#5542) ([cdcc50f](https://github.com/discordjs/discord.js/commit/cdcc50f365c6afa44fecb1653b77945112a32960)) +- **Sharding:** Use options objects (#5510) ([c9b5353](https://github.com/discordjs/discord.js/commit/c9b53539d59cb956e1125581331eadb1e092c986)) +- Add discord-api-types as a dependency (#5539) ([1b827fe](https://github.com/discordjs/discord.js/commit/1b827fe13638279fe57c7a4f897b38e749ac06f6)) +- Rename Snowflake to SnowflakeUtil (#5502) ([164ddf6](https://github.com/discordjs/discord.js/commit/164ddf668f06214ae327b4527a787a05e12cbeb1)) +- **Guild:** Remove fetchVanityCode() (#5471) ([0a2e0c0](https://github.com/discordjs/discord.js/commit/0a2e0c0e3e06dc63359c4f69d74df3365e413f76)) +- **Collector:** Make endReason a getter (#5271) ([8d14ee3](https://github.com/discordjs/discord.js/commit/8d14ee35400ef0bdb92148d3cd582155171f2238)) +- Switch api and gateway to V8 (#4879) ([ee5bc1a](https://github.com/discordjs/discord.js/commit/ee5bc1a5c4e218ea1f16992694a2bff86c86d2d2)) +- **Client:** Remove fetchAllMembers option (#5257) ([aaed72b](https://github.com/discordjs/discord.js/commit/aaed72b723b6069d6f57c8eb84cb580b90f42809)) +- **GuildMember:** Remove GuildMember#hasPermission (#5152) ([5401b92](https://github.com/discordjs/discord.js/commit/5401b92aac72db3a60e4cd6f61f180294ca9c929)) +- **Util:** Remove convertToBuffer (#5237) ([a33eed7](https://github.com/discordjs/discord.js/commit/a33eed71af136d35d805b9414e284d178c48790f)) +- **Message:** Remove stored edit history (#5155) ([8c2e6b7](https://github.com/discordjs/discord.js/commit/8c2e6b70b84ff597d15aa99712db5d719fd5a0af)) +- RoleManager (#5131) ([2a0dcc5](https://github.com/discordjs/discord.js/commit/2a0dcc5cae30b4091274096ab6f5910f55ec92c1)) +- **Message:** Remove options for Message#delete (#4999) ([75e6dfb](https://github.com/discordjs/discord.js/commit/75e6dfbfd3b351a2378c182a27a2e7e072d6977e)) +- **Client:** Improve generateInvite() (#5065) ([5b51392](https://github.com/discordjs/discord.js/commit/5b51392724f7b41d2276824672bc7365e952fb83)) + +## Testing + +- **Types:** Add `notPropertyOf` type-only utility (#6051) ([03fe6ee](https://github.com/discordjs/discord.js/commit/03fe6ee4e4daabebf1bc18be544f482c2a91b0e1)) +- Client should destroy (#5353) ([4099c28](https://github.com/discordjs/discord.js/commit/4099c28776ff154fbcda4e257bbecf40c1c1cf78)) + +## Typings + +- **MessageButtonOptions:** Clean up and export some button option type definitions (#6291) ([ae6200e](https://github.com/discordjs/discord.js/commit/ae6200e58e6062372d5c526f028d0c9c17adf8e2)) +- Make MessageTarget extend on TextBasedChannels (#6296) ([5b0621f](https://github.com/discordjs/discord.js/commit/5b0621fb3a8ecefcd8ab0031662a337116929d01)) +- **Caches:** Add GuildStickerManager and GuildInviteManager (#6268) ([15aea68](https://github.com/discordjs/discord.js/commit/15aea68946f4d35a416c2fd5291584481d5132da)) +- Use api-types for stricter typings (#6230) ([00c2bf8](https://github.com/discordjs/discord.js/commit/00c2bf81cdca751928d65a9e9a0645c5fd6e4ce9)) +- **ButtonMessageOptions:** Make button/link button typings more specific (#6212) ([77c72e6](https://github.com/discordjs/discord.js/commit/77c72e625f316aa7d12ca20936439ee967306752)) +- **WsEvents:** Add thread ws events (#6194) ([4f1f32f](https://github.com/discordjs/discord.js/commit/4f1f32f2a52832e1dc06a9dca14f331479f6bf8a)) +- **DataManager:** Add 'K' to type parameter of 'resolveId' (#6152) ([8586505](https://github.com/discordjs/discord.js/commit/85865058ed3ab13e3850908a44f9ca81a1c027b9)) +- **ColorResolvable:** Readonly tuple (#6153) ([1e90be8](https://github.com/discordjs/discord.js/commit/1e90be8f7a7290886cbbebc0e6cbe15075dd2fd9)) +- **Message:** Mark `#thread` as nullable (#6129) ([ef5ba05](https://github.com/discordjs/discord.js/commit/ef5ba05996ba45b56dde0f1f624347777b1de0ae)) +- **Options:** Add types for cacheWithLimits (#6095) ([8db6df3](https://github.com/discordjs/discord.js/commit/8db6df3d1eb58c542624e875f7da2a848153d11c)) +- **Interaction:** Change inGuild return type (#6094) ([60148c6](https://github.com/discordjs/discord.js/commit/60148c6a78d905719bdd864bee1869dc4bbb041d)) +- **PartialWebhookFields:** Add APIMessage to deleteMessage union (#6085) ([a9e7ebd](https://github.com/discordjs/discord.js/commit/a9e7ebd94fa430bfcccdb9fb5250784aee163e31)) +- **Interactions:** Fix function overloads (#6109) ([98c6078](https://github.com/discordjs/discord.js/commit/98c60789a2bc38a9939b2493c3e9346eb0a0446e)) +- **Guild:** Remove fetchVoiceRegions (#6099) ([a8984bc](https://github.com/discordjs/discord.js/commit/a8984bc68c8ac6be615b8fd50eac667879720ab5)) +- **Partial:** Add partial reactions (#6066) ([d6c43a5](https://github.com/discordjs/discord.js/commit/d6c43a50bd608c233919e6386683c126cf821346)) +- **Test:** Fix overloads for channel create ([5b6be0c](https://github.com/discordjs/discord.js/commit/5b6be0cebc4aefd936781dde3c627edfdecebea7)) +- **GuildInviteManager:** FetchInvitesOptions (#6076) ([c1eaa78](https://github.com/discordjs/discord.js/commit/c1eaa78ab7cef55f2a4dcb36d0876963d42ef1ec)) +- Fixed unreachable overloads (#6062) ([7322547](https://github.com/discordjs/discord.js/commit/7322547172e2d34bd04ef131db277801fccf7f99)) +- **ApplicationCommand:** Fix option name (#6067) ([58bbcd5](https://github.com/discordjs/discord.js/commit/58bbcd591e01894594dffba8bdafb95c99670fb1)) +- ***:** Revert incorrect unknown type changes (#6057) ([2e078e4](https://github.com/discordjs/discord.js/commit/2e078e44883c1ef5f85ef973d61a305ce2a34251)) +- **Options:** Should extend null (#6042) ([c4aa9fe](https://github.com/discordjs/discord.js/commit/c4aa9feee238db453c87cb66e054922a8302c355)) +- **Voice:** Move types to the library's definitions (#6041) ([185e376](https://github.com/discordjs/discord.js/commit/185e37602b0fabf6f06a02886128aead9239c5d9)) +- Better fullPermissions typings (#6028) ([2ab32e6](https://github.com/discordjs/discord.js/commit/2ab32e6bc62a5326daab6a7472075730830ef109)) +- **MessageOptions:** Fix components being optional (#6005) ([56b5b7e](https://github.com/discordjs/discord.js/commit/56b5b7ee820c8be36c6d7de0abedf1753cc591dd)) +- ***:** Create mention types (#6003) ([0dc5dd5](https://github.com/discordjs/discord.js/commit/0dc5dd5808af213ac4ede9f1084b522225a5c661)) +- **VoiceState:** Fix optional params (#5993) ([1242c54](https://github.com/discordjs/discord.js/commit/1242c5434d441f3f7e0ed4610a9a0815a70072ba)) +- **ClientUser:** Updated `setAFK` signature (#6011) ([c40b06c](https://github.com/discordjs/discord.js/commit/c40b06cac90b02f01e198e42c7a8f38de27f15c8)) +- **MessageSelectMenu:** Fix typings (#5995) ([fe6cc0c](https://github.com/discordjs/discord.js/commit/fe6cc0c15dde99caa1049d35f75b9335ace1721d)) +- **Interactions:** Fix function overload types (#5989) ([521d26c](https://github.com/discordjs/discord.js/commit/521d26c57f3f615e5355ba3c78d2ffea14e685a3)) +- Few missing thread channels (#5988) ([941cd86](https://github.com/discordjs/discord.js/commit/941cd86881c8205fbbb6a8579e41b006bcf72c2c)) +- **MessageOptions:** Improved component typings (#5987) ([0eeb277](https://github.com/discordjs/discord.js/commit/0eeb2775a52b0db7f403afb7029d70897fe7d30a)) +- **ApplicationCommandPermissionsManager:** Fix types (#5979) ([388e05b](https://github.com/discordjs/discord.js/commit/388e05b4af95cf2581abae90c6d05d59a0cdb4d2)) +- **ThreadChannel:** Make locked and archived param optional (#5980) ([a08ce7d](https://github.com/discordjs/discord.js/commit/a08ce7dddb5f056128488392742495398f9e33b5)) +- ***:** Make hex color types compatible with ColorResolvable (#5973) ([788d58e](https://github.com/discordjs/discord.js/commit/788d58e5a32956bbcf4768f69ff320b0d7873a6a)) +- **CommandInteraction:** Readd followUp type (#5974) ([ae37d20](https://github.com/discordjs/discord.js/commit/ae37d202a53a05e8bba4d6df9016d0f0a7682c6b)) +- **ThreadManager:** Add type to ThreadManager#create options (#5969) ([3174507](https://github.com/discordjs/discord.js/commit/3174507d57d9f6011e97b4f3209f42179e050f9b)) +- **ColorResolvable:** Change `string` to `#${string}` (#5950) ([acdcb90](https://github.com/discordjs/discord.js/commit/acdcb906ae4691374f5d2bda1315a484c8674938)) +- Define ApplicationCommand enums in lib (#5947) ([e37ef3a](https://github.com/discordjs/discord.js/commit/e37ef3af2151e556527ccd8e98ec531bdcc0ed70)) +- Fix remaining Raw type references, update discord-api-types dep (#5942) ([03d3a5c](https://github.com/discordjs/discord.js/commit/03d3a5cdde5492433d27bbfe46afe0ebf2de5904)) +- **ThreadMemberManager:** Fix incorrect usage (#5928) ([6065b11](https://github.com/discordjs/discord.js/commit/6065b11634c17fdacb49127a15eb9dbd9657bef7)) +- **MessageReactionResolvable:** Add string (#5863) ([a0b7d95](https://github.com/discordjs/discord.js/commit/a0b7d95e3627c7a0725231575667287ebbc87258)) +- **GuildApplicationCommandManager:** Allow undefined command (#5837) ([d5bb758](https://github.com/discordjs/discord.js/commit/d5bb7585da03a2503c4497fb26051920944ebede)) +- Corrected shard broadcastEval (#5834) ([a0a56e2](https://github.com/discordjs/discord.js/commit/a0a56e2cb30c6b631aa73ffc66752b68da74e299)) +- **MessageComponentInteraction:** Update should return Promise (#5829) ([08cffd6](https://github.com/discordjs/discord.js/commit/08cffd6a3036a93d7524336faa1fdb287ccb3833)) +- **Extendable:** Add ButtonInteraction (#5802) ([19fd162](https://github.com/discordjs/discord.js/commit/19fd1622f59e6bf86513ddfd07da8cc616d410ea)) +- Extend MessageComponentInteractionCollector correctly (#5752) ([c6696d8](https://github.com/discordjs/discord.js/commit/c6696d839913a95663e68cd185eb5001174ad456)) +- Fix awaitReactions typings for returned collection ([43fc40e](https://github.com/discordjs/discord.js/commit/43fc40e9b4250990649c7dc8e46f475c05a29032)) +- Change remaining string IDs to Snowflakes (#5737) ([ff4d6dd](https://github.com/discordjs/discord.js/commit/ff4d6dded52771788619df395df016279909ba3c)) +- **Snowflake:** Export the type (#5722) ([66a6a1f](https://github.com/discordjs/discord.js/commit/66a6a1fcedc8c35b75a89dbb26edc01317bdd7e2)) +- Use Snowflake type (#5717) ([76db642](https://github.com/discordjs/discord.js/commit/76db6425439f41d13abf803ff5ab15a472da261d)) +- **PermissionOverwriteOptions:** Remove unused interface (#5651) ([b40027b](https://github.com/discordjs/discord.js/commit/b40027beb9e0b9d11312dbda293ec7ecd4e84fa9)) +- **WebhookMessageOptions:** Omit reply instead of replyTo (#5610) ([2345c6d](https://github.com/discordjs/discord.js/commit/2345c6db0c726713aafe10912303796a653a867f)) +- Remove typings for Client#disconnect event (#5469) ([a4d09ab](https://github.com/discordjs/discord.js/commit/a4d09ab0a8c39d743673d9d6ae93b3898e7af0b1)) +- **PermissionOverwrites:** Use correct parameter type for resolveOverwriteOptions (#5302) ([ca5f371](https://github.com/discordjs/discord.js/commit/ca5f371f1ad0ffa6b57def34d9f50dc29c149e10)) +- **MessageReaction:** Allow message to be partial (#5303) ([aac6275](https://github.com/discordjs/discord.js/commit/aac6275300a1511d2a30f0fc27999381fad4f7d9)) +- **RateLimitData:** Remove timeDifference property (#5208) ([80e1afb](https://github.com/discordjs/discord.js/commit/80e1afb65447e1d66429ddda36902d871920fdc3)) +- Make Client#voice non-nullable (#5148) ([40d77ba](https://github.com/discordjs/discord.js/commit/40d77bacc3dfdd5e9dd9f3ddff0751fe8470ddc8)) + +# [12.5.0](https://github.com/discordjs/discord.js/compare/12.4.1...12.5.0) - (2020-11-22) + +## Bug Fixes + +- **Guild:** Fetch member if already in the guild (#4967) ([643f96c](https://github.com/discordjs/discord.js/commit/643f96c79b50d0ff9a109eabafe0fa3d16d57448)) +- **User:** Only assign to bot initially or if info is actually present (#4990) ([eaecd0e](https://github.com/discordjs/discord.js/commit/eaecd0e8b790f218b2c52021b433c0957ec539c3)) +- **GuildMemberUpdate:** Cache incoming members & use partials if enabled (#4986) ([2e940e6](https://github.com/discordjs/discord.js/commit/2e940e635dc901abf8b685ea5f570cea8adb3cdd)) +- **MessageReaction*Action:** Correctly cache incoming members and users (#4969) ([8b91ac5](https://github.com/discordjs/discord.js/commit/8b91ac5d7e217f5df61e8b79ee8f45e86a10a3cf)) +- **MessageReaction:** Add client property to typings (#5003) ([042e071](https://github.com/discordjs/discord.js/commit/042e071a64b7c18f10b5aedeb0054b5ff70cf166)) +- **Shard:** Don't pass event arguments to exit handler (#4957) ([adf2e87](https://github.com/discordjs/discord.js/commit/adf2e872f80d1a6b3a975575ac5ee92f7841a380)) +- **PackageLock:** Reinstall GitHub docgen dev dependency (#4958) ([ed8b3cc](https://github.com/discordjs/discord.js/commit/ed8b3cc9ea6374f400e49775d3a9f0147362a263)) + +## Documentation + +- Use npm ci instead of npm install (#4928) ([efd7849](https://github.com/discordjs/discord.js/commit/efd7849ed043aed641555cf073984ecab47464ae)) + +## Features + +- **Shard:** Shard-specific broadcastEval/fetchClientValues + shard Id util (#4991) ([2a6c363](https://github.com/discordjs/discord.js/commit/2a6c363a8a317a30cc849bdf6b9a3a0c19ea3adc)) +- Add support for guild templates (#4907) ([2b2994b](https://github.com/discordjs/discord.js/commit/2b2994badc572fd90c18bd44fbe16bfaf4aab64f)) +- Add missing error codes (#5008) ([7faa73a](https://github.com/discordjs/discord.js/commit/7faa73a5610d98719a008bc1364ed8bf1d1f910c)) +- **Message:** Add crosspostable property (#4903) ([b8fd3f6](https://github.com/discordjs/discord.js/commit/b8fd3f65d964f080afb42dd37eb21a13c0d84f8f)) + +# [12.4.1](https://github.com/discordjs/discord.js/compare/12.4.0...12.4.1) - (2020-10-24) + +## Bug Fixes + +- **Action:** Attempt to get a User if GuildMember not returned (#4922) ([3d158f4](https://github.com/discordjs/discord.js/commit/3d158f4448b6e7ebcff704621225dac93c28f510)) +- **GuildChannel:** ParentID shouldn't be set in the constructor (#4919) ([250c3ae](https://github.com/discordjs/discord.js/commit/250c3ae3c1f025c092383e4661bbb386e89a3c23)) + +# [12.4.0](https://github.com/discordjs/discord.js/compare/12.3.1...12.4.0) - (2020-10-19) + +## Bug Fixes + +- **Webpack:** Revert webpack upgrade ([94c9cc2](https://github.com/discordjs/discord.js/commit/94c9cc2300d08eba40642f256fbcf9c68487773b)) +- **esm:** Add missing exports (#4911) ([4bbe716](https://github.com/discordjs/discord.js/commit/4bbe716aa0503c2755fb57f314e8ba46a7f8c8cb)) +- **GuildEmojiManager:** Check for guild in methods that use it (#4886) ([728b3f9](https://github.com/discordjs/discord.js/commit/728b3f939c6de3798649f884181e81d180d6573d)) +- **GuildMember:** Properly check permissions for hasPermissions (#4677) ([7db6978](https://github.com/discordjs/discord.js/commit/7db69780127f4e95ede7cd9066b513a903c08d23)) +- **GuildEmojiCreate:** Prevent double fire from emoji creation (#4863) ([6261dd6](https://github.com/discordjs/discord.js/commit/6261dd65d3485bf9f79627fb8415e487051ce581)) +- **GuildMemberManager:** Options.roles on 'prune' (#4838) ([a45cc11](https://github.com/discordjs/discord.js/commit/a45cc112e5c8ee228c9a12637d8d3a5933ff912c)) +- **GuildChannel:** Default `parentID` to `null` (#4881) ([6e4308b](https://github.com/discordjs/discord.js/commit/6e4308bfdef045c9768c4448304e8f0e63d9fc3c)) +- **Actions:** Avoid crash in InviteCreate with unknown channel (#4882) ([dd12912](https://github.com/discordjs/discord.js/commit/dd1291212431b64b6740d7bfd06a4e04867e5073)) +- **GuildMemberManager:** Use actually random nonce in fetch (#4884) ([937153a](https://github.com/discordjs/discord.js/commit/937153a92f5b6ac3818ebfce6a11cda71fb631f8)) +- **GuildChannel:** Make setTopic argument nullable (#4875) ([b9ad510](https://github.com/discordjs/discord.js/commit/b9ad51049ea964cf1af1986c7ee796df8f1a646d)) +- **Rest:** Resolved a regression, added retried AbortError (#4852) ([d234165](https://github.com/discordjs/discord.js/commit/d2341654fe6ef87c6048bb5bf74c394062f3f618)) +- **MessageManager:** Throw if delete param is not MessageResolvable (#4825) ([13d64e6](https://github.com/discordjs/discord.js/commit/13d64e6fa6926a21360e01d3d0c511d16e49f5e5)) +- **Shard:** Avoid caching null child in eval/fetchClientValue (#4823) ([77c0788](https://github.com/discordjs/discord.js/commit/77c0788b2ce5bf32bb0b847bd810b3e853f2380e)) +- **Action:** Sanity-Check if Discord includes all required data (#4841) ([4e79e39](https://github.com/discordjs/discord.js/commit/4e79e39e22673024aba615faaf8e85e62ca43ae0)) +- **Message:** Use Promise#reject instead of Throw on Message#delete (#4818) ([1e63f37](https://github.com/discordjs/discord.js/commit/1e63f3756e814d6b1a2a9c17af9c2b28ce37e472)) +- **Action:** Don't crash when partials are disabled (#4822) ([8fa3a89](https://github.com/discordjs/discord.js/commit/8fa3a89482bb6aa878aa3ccfca51934b9ebe2356)) +- **Partials:** Use more user objects available from the gateway (#4791) ([eeb4c14](https://github.com/discordjs/discord.js/commit/eeb4c1475493c1cde00eb6128f2d0cf8159fbea2)) +- **lint:** RESTManager warning (#4796) ([5b39737](https://github.com/discordjs/discord.js/commit/5b39737d49706ee55f5d20d14ba4340d506fb6ab)) +- **Typings:** Remove Partial types from some events (#4781) ([a28754b](https://github.com/discordjs/discord.js/commit/a28754b8924530c7debbeac9ae8e80dd543d6730)) +- **Util:** Throw token invalid for fetching rec. shard amount (#4779) ([77b6a7d](https://github.com/discordjs/discord.js/commit/77b6a7d5bd7463f9f397179f5897ec0d00706749)) +- **Guild:** Cache fetched widget data (#4760) ([7ba9440](https://github.com/discordjs/discord.js/commit/7ba94400535b9ece59094f34ad01d826cfcbc1b2)) +- **Typing:** Change NodeJS.Timer into NodeJS.Timeout (#4755) ([405b487](https://github.com/discordjs/discord.js/commit/405b487dc3475ea077dcd3f6734a5a01321021dd)) +- Correctly import extendable classes (#4744) ([6aab9c3](https://github.com/discordjs/discord.js/commit/6aab9c3d645e8ce91736d04ddf8d591a533ef4db)) +- **typings:** Bot cannot be null (#4719) ([e0e2711](https://github.com/discordjs/discord.js/commit/e0e271162c7ee9913facbff99970177c107ef3f2)) + +## Documentation + +- **PresenceData:** Add YouTube and remove application (#4910) ([a7af4a8](https://github.com/discordjs/discord.js/commit/a7af4a8837ce6f040c1b254a9bcb7f2e1d9c489c)) +- **Role:** Update various Role method descriptions (#4798) ([222137d](https://github.com/discordjs/discord.js/commit/222137dcd18f60b88b95b058a13723022e568cf1)) +- **ReactionCollector:** Revise JSDoc for ReactionCollector#dispose and #remove (#4709) ([372a405](https://github.com/discordjs/discord.js/commit/372a4059262737bc5c32460fc6981d910408826a)) +- **Guild:** Guild.setName() example (#4797) ([dfd63bd](https://github.com/discordjs/discord.js/commit/dfd63bdb6b73c39bd071689561f42dce3827fc14)) +- **GuildChannel:** ThisType should be this (#4793) ([b43e742](https://github.com/discordjs/discord.js/commit/b43e7425031b891685210a12d405ca4ae7804478)) +- **MessageManager:** Update example for fetchPinned (#4785) ([8ac25d3](https://github.com/discordjs/discord.js/commit/8ac25d37d9f63a528842a0efd3704737480f76ba)) +- **BaseGuildEmoji:** Account for optional properties (#4723) ([a363b90](https://github.com/discordjs/discord.js/commit/a363b90fa54f9f7334e4bad19f98a2df724d593c)) +- **ClientOptions:** Fix typo (#4730) ([cfc6867](https://github.com/discordjs/discord.js/commit/cfc68677eeff09896f36ee74e533ca8a69a3a15c)) +- **APIMessage:** Fix wording on comment (#4717) ([05c9e30](https://github.com/discordjs/discord.js/commit/05c9e301639848121dda27ab1f8a643f465be502)) +- Update jsdoc type for User#bot (#4716) ([b6167d8](https://github.com/discordjs/discord.js/commit/b6167d8c3bc40283ca2d1b454e7af33f5ab0089d)) + +## Features + +- **Message:** Allow custom emoji format for react (#4895) ([30808f9](https://github.com/discordjs/discord.js/commit/30808f9f0b8cb5d5004cb1f2234b11155d1a5c10)) +- **Message:** Add messageEditHistoryMaxSize to limit stored msg edits (#4867) ([c412cd7](https://github.com/discordjs/discord.js/commit/c412cd75213c4b683cad702a92e7386ef5b94ff7)) +- **NewsChannel:** Add support for following (#4805) ([f83b3d7](https://github.com/discordjs/discord.js/commit/f83b3d7fc12d7ead26b6109c214a456520ffd2cf)) +- **GuildManager:** Add AFK and system channel options in create (#4837) ([f2bbad3](https://github.com/discordjs/discord.js/commit/f2bbad36d56178350eb75ffe841dc70c55d76fed)) +- **Rest:** Switch queue to AsyncQueue (#4835) ([32fe72f](https://github.com/discordjs/discord.js/commit/32fe72f909f2e93bcfcf6c17e87a96c7984a76aa)) +- **ActivityTypes:** Add Competing (type 5) (#4824) ([9c76129](https://github.com/discordjs/discord.js/commit/9c76129a23fa965a982eb87faf2755cd119bb1f2)) +- **Message:** Add support for crossposting (#4105) ([bcb7c72](https://github.com/discordjs/discord.js/commit/bcb7c721dc8529f48c829e176a26f42e379cc012)) +- **Channel:** Add isText() type guard (#4745) ([b0ab37d](https://github.com/discordjs/discord.js/commit/b0ab37ddc0614910e032ccf423816e106c3804e5)) +- **Guild:** Add includeApplications option for fetchIntegrations (#4762) ([3141f7c](https://github.com/discordjs/discord.js/commit/3141f7cb04e85724e3787c578c4abb9a05987034)) +- **UserFlags:** Add renamed UserFlags (#4761) ([f973163](https://github.com/discordjs/discord.js/commit/f97316319f837799b8c995670ef5e9ae6b8c5742)) +- **Client:** Allow options for generateInvite (#4741) ([727b29c](https://github.com/discordjs/discord.js/commit/727b29c85d0d722d3b0dd8709880a77f54d06f96)) + +## Refactor + +- Improve the accuracy of docs/improve docs (#4845) ([af670fc](https://github.com/discordjs/discord.js/commit/af670fc718c9dc37883f34b5ee84bb1f80074f9d)) +- **ReactionUserManager:** Use client property (#4829) ([169d4c3](https://github.com/discordjs/discord.js/commit/169d4c3bff75858d84ed91d1a92b0c1f3bedbc02)) +- **Client:** Remove non-existant property from toJSON (#4750) ([46acfac](https://github.com/discordjs/discord.js/commit/46acfac327a7a32611c47303e298800ca3dc63df)) + +## Styling + +- Remove unnecessary eslint comment (#4758) ([74ebb65](https://github.com/discordjs/discord.js/commit/74ebb650df0542e09122d3e0168eb69940ce61b3)) + +## Typings + +- **TextBasedChannel:** Make lastPinAt nullable (#4842) ([4a6fb9a](https://github.com/discordjs/discord.js/commit/4a6fb9a7d4bb84085f27295f27cea43cae62039f)) +- **Activity:** Move flags from Presence to Activity (#4843) ([824e922](https://github.com/discordjs/discord.js/commit/824e92229d5e700eaf3043b0117fcde33706f483)) +- **GuildPreview:** Make description nullable (#4854) ([0b59141](https://github.com/discordjs/discord.js/commit/0b59141054557635af9ef3244ebff03558204e03)) +- **Guild:** Document RELAY_ENABLED feature (#4788) ([422a4dd](https://github.com/discordjs/discord.js/commit/422a4dda68c2feea3d332cebeece03c2a0b7f781)) +- Don't use readonly arrays in interfaces (#4794) ([904aecf](https://github.com/discordjs/discord.js/commit/904aecfdb70a7c66d0d42899e1c87b26d34e2870)) +- **PartialUser:** Fix PartialUser remove `deleted` property (#4773) ([aa25608](https://github.com/discordjs/discord.js/commit/aa25608c5230e9619f653b0293ffc97c26da0928)) +- Don't allow any object in the first parameter if second parameter is not given in TextBasedChannel#send (#4736) ([74763ef](https://github.com/discordjs/discord.js/commit/74763ef3fb4a31563320c7cff19453773bdb38de)) +- Add all types for GuildAuditLogsEntry#target (#4738) ([2dc70af](https://github.com/discordjs/discord.js/commit/2dc70af717f41f4ea9f1d9b7989b1d26cec82eae)) + +# [12.3.1](https://github.com/discordjs/discord.js/compare/12.3.0...12.3.1) - (2020-08-15) + +## Bug Fixes + +- **User:** Set User#bot to false if not partial (#4706) ([db512d8](https://github.com/discordjs/discord.js/commit/db512d8f6281b9d6436df5256f02aeb504462295)) + +# [12.3.0](https://github.com/discordjs/discord.js/compare/12.2.0...12.3.0) - (2020-08-14) + +## Bug Fixes + +- **Partials:** Correctly set properties as nullable (#4636) ([980243f](https://github.com/discordjs/discord.js/commit/980243f2d5d04b6ab240a5a5caa0df810da8291e)) +- **APIMessage:** Add reply user to allowedMentions (#4591) ([b6ddd4c](https://github.com/discordjs/discord.js/commit/b6ddd4ce413663aef6f4ea637f2551f5e19bdf6e)) +- **MessageReactionAdd:** Prevent double messageReactionAdd triggering (#4682) ([6caeaeb](https://github.com/discordjs/discord.js/commit/6caeaeb391e0e85461e02d9f7c0f2d1e52b62a7f)) +- **Integration:** User might not be present (#4691) ([baffbdb](https://github.com/discordjs/discord.js/commit/baffbdb5412444d619de546986ec9328b1ee3349)) +- **GuildChannel:** Make lockPermissions use parent overwrites (#4627) ([599cde3](https://github.com/discordjs/discord.js/commit/599cde3627a19e954caa9a803378c17feaac66fb)) +- **Collector:** Support async (#4123) ([124afeb](https://github.com/discordjs/discord.js/commit/124afeb843361f86950ec2c5b460a268568beea4)) +- **BaseManager:** Properly type valueOf (#4594) ([b4d6510](https://github.com/discordjs/discord.js/commit/b4d651055aa682d0edff3c48b5a91fd5a9aa6f8f)) +- Correctly import VoiceState (#4616) ([c5b6c4d](https://github.com/discordjs/discord.js/commit/c5b6c4da43b9e631963e5437b27110030e7f0d2c)) +- **ApiMessage:** Respect allowedMentions with split (#4588) ([a663ea4](https://github.com/discordjs/discord.js/commit/a663ea4d2cb5f1840318649c2e3987593b1ac3d6)) +- **Message:** Message#createdTimestamp uses deconstructed message id to get timestamp (#4632) ([2be68e4](https://github.com/discordjs/discord.js/commit/2be68e41259c6f4339ffb4af1eaa4d3d30fd91f3)) +- **Util:** Support empty array for flatten (#4590) ([317f240](https://github.com/discordjs/discord.js/commit/317f24076eeaf221b74d7ef1eb5a549c0c8b1169)) +- Consider #nsfw false if not present in data (#4593) ([fab3153](https://github.com/discordjs/discord.js/commit/fab3153de68880e775453f9c0cb26ad824a45347)) +- **PresenceStatus:** Include invisible in typings (#4585) ([276dddc](https://github.com/discordjs/discord.js/commit/276dddcbfb388eb54efbac0a18443506a493cb66)) +- Set #nickname to null as the default value (#4641) ([2adb581](https://github.com/discordjs/discord.js/commit/2adb5815bf786633a6314973637d28a2d7c9d61a)) +- **Typings:** Channel#delete returns bad type (#4118) ([3df9993](https://github.com/discordjs/discord.js/commit/3df99930e86813acfff1177ac6e784b7eaf24979)) +- **Message:** Include MessageEmbed type (#4675) ([bbfc715](https://github.com/discordjs/discord.js/commit/bbfc715821cdfa2a42d34e52e91107fef8f11cff)) +- **typings:** Correct spelling of APIError (#4687) ([c55b5c8](https://github.com/discordjs/discord.js/commit/c55b5c8c19226a1dfe147c57d81aca2544656c46)) +- **Util:** Fix cleanContent mention exploit (#4663) ([fb1dd6b](https://github.com/discordjs/discord.js/commit/fb1dd6b53aee68722b057f9a460eb618c61dd1c6)) +- **typings:** Allow custom events (#4162) ([47151fc](https://github.com/discordjs/discord.js/commit/47151fc2a9e1dd97c383967ca90325c3b62193f6)) +- **User:** Type dmChannel as nullable (#4609) ([f9f3661](https://github.com/discordjs/discord.js/commit/f9f36610907e12b6a1d515aac4728a0f675162aa)) +- Typing start event emitting on non text based channels (#4349) ([16847a3](https://github.com/discordjs/discord.js/commit/16847a3c13a82ccb9d189bc9ecf0cd4be0dd04f4)) +- **Guild:** Fix vanityURLUses desc, internally use fetchVanityData (#4335) ([1c275af](https://github.com/discordjs/discord.js/commit/1c275afd7cee4b3663a04f77b0271ac80e927a5e)) +- **DataResolver:** ResolveInviteCode to support new domain (#4281) ([5955498](https://github.com/discordjs/discord.js/commit/5955498aca7a50fc932ce36ca057a8612818c09e)) +- Grammatical errors in INVALID_TYPE errors (#4289) ([fc4bddf](https://github.com/discordjs/discord.js/commit/fc4bddf82a3b4d8f41a6cbc1ec69d01a3aed789a)) +- **APIMessage:** Only pass allowedMentions if content is defined (#4269) ([15b5350](https://github.com/discordjs/discord.js/commit/15b53509daa43e223186dd8eddad7742977a996f)) +- In/de-crement max listener for client events (#4168) ([407bc77](https://github.com/discordjs/discord.js/commit/407bc77d348f20ea0d5f91c5fb71e47f096a84ff)) +- **Voice:** Correctly set speaking data in the voice ssrcMap ([d3c9384](https://github.com/discordjs/discord.js/commit/d3c9384c9c47cf293858778f36da014a5a503557)) +- **MessageEmbed:** Explicitly mark `proxyIconURL` as undefined (#4097) ([605ee85](https://github.com/discordjs/discord.js/commit/605ee8587b7554dd32ad19591dd69f4873750ccc)) +- **Typing:** DmChannel bulkDelete (#4115) ([819e04a](https://github.com/discordjs/discord.js/commit/819e04a7ab89fedf106250fb3eb407beeacd18af)) +- **Typing:** SetSpeaking public (#4109) ([e3303ac](https://github.com/discordjs/discord.js/commit/e3303ac3a27c31dbd0c1bd78d23cd0c97afb0082)) +- **Webpack:** Add Buffer polyfill in browser (#4102) ([67a74c3](https://github.com/discordjs/discord.js/commit/67a74c33e1b124d609bee65f82656e7bf5b09764)) +- **Guild:** Name acronym (#4104) ([97cbbb1](https://github.com/discordjs/discord.js/commit/97cbbb176b7400d5b1e950bdfba48efccf9e401a)) +- **PacketHandler:** Guild members chunk packet handler should… (#4092) ([5af1a55](https://github.com/discordjs/discord.js/commit/5af1a552bc7ffde85e375d046888f4c0f4e69636)) +- **Typings:** Add optional Set to shardReady event (#4099) ([97d23de](https://github.com/discordjs/discord.js/commit/97d23de247e87d5ceb86bcccb5ddeb5e67d3bc8f)) +- **User:** Jsdoc for User#flags (#4094) ([6fbaf0a](https://github.com/discordjs/discord.js/commit/6fbaf0a036f4ca558efc5d9896e99a7b4ba81622)) + +## Documentation + +- Updated applications URL (#4699) ([0b38c5d](https://github.com/discordjs/discord.js/commit/0b38c5d8b39512529f318b4b5dc9fa7834d85b05)) +- **ReactionCollector:** Update remove and dispose events (#4136) ([139e56c](https://github.com/discordjs/discord.js/commit/139e56c7748b0bafced3a48b15be17f49613f3ee)) +- **Embeds:** Added descriptions to the typedefs (#4303) ([2a7f749](https://github.com/discordjs/discord.js/commit/2a7f749d5a16d6384bac34909b150a19bd3126a0)) +- **Constants:** Improve large_threshold description (#3744) ([de8d26d](https://github.com/discordjs/discord.js/commit/de8d26d7918eb54dccef7f5a3579d7697c0147fe)) +- **Ban:** Days must be 0-7 (#4693) ([446bbfe](https://github.com/discordjs/discord.js/commit/446bbfe9eb775298cfc4261b5f352475c8114c0f)) +- **Welcome:** Change discord badge to shields.io for consistency (#4633) ([bd2bb0e](https://github.com/discordjs/discord.js/commit/bd2bb0e1c7ae150d78d2b6b08cbb86debfef42cf)) +- **Client:** Fix docs for login method (#4350) ([9d747d1](https://github.com/discordjs/discord.js/commit/9d747d14c5c5f28a7d608a27d2a9e91fd30b5e34)) +- **Guild:** Clarify vanity URL documentation (#4125) ([05cbf70](https://github.com/discordjs/discord.js/commit/05cbf70486ee04a61d0e349aff9ef2dfa67ee981)) +- **CategoryChannel:** Fix children being incorrectly marked as nullable (#4620) ([f628981](https://github.com/discordjs/discord.js/commit/f628981f4234cae8c90b2a388cbd00b69c551699)) +- **examples:** Fix example img (#4678) ([755f379](https://github.com/discordjs/discord.js/commit/755f3798d16f605d68c73b2cea6a3a8f9229360b)) +- **ReactionManager:** Clarify cache Collection keys type (#4683) ([5b716c5](https://github.com/discordjs/discord.js/commit/5b716c5b0c02cc4864d42ad4b2ac1a2addc7e8b2)) +- **Message:** Add NewsChannel type to Message#channel (#4680) ([b0e53e9](https://github.com/discordjs/discord.js/commit/b0e53e9c6d82bdb3392bb4311f7a57665c8a79f1)) +- Make use of MessageResolvable type for bulkDelete (#4661) ([0e61fca](https://github.com/discordjs/discord.js/commit/0e61fca97459718f532337c708b4c2a55569e1a7)) +- **erlpack:** Discordapp to discord (#4288) ([9a1c56c](https://github.com/discordjs/discord.js/commit/9a1c56c5b9ed32cc6051fef8f20eeaeb04318e47)) +- **Guild:** Description of Guild#premiumSubscriptionCount (#4324) ([bd34965](https://github.com/discordjs/discord.js/commit/bd349650a786df87baf810131815828372340051)) +- **GuildManager:** Resolve returns a GuildChannel (#4333) ([88a62d5](https://github.com/discordjs/discord.js/commit/88a62d5fead6d427816e6b5d4192eef4bcddc656)) +- **WebSocketShard:** Add missing properties (#4268) ([2583ad5](https://github.com/discordjs/discord.js/commit/2583ad5da7db5ab92dfa357909f9c713db0a2981)) +- **ShardingManager:** Fix typo in JSDoc (#4158) ([766b91d](https://github.com/discordjs/discord.js/commit/766b91d306e93ef2e58bc52c9be5633b1092277a)) +- **ShardingManager:** Remove experimental status of Worker threads (#4157) ([99612ba](https://github.com/discordjs/discord.js/commit/99612ba14dc70462c878fe8e34a003c4b2325ad3)) +- **VoiceState:** Remove permissions required from description (#4156) ([2617d3c](https://github.com/discordjs/discord.js/commit/2617d3c9f3f321f80472d1fcf88ff905f3cc39aa)) +- **Message:** Add timeout to Message#delete example (#4090) ([863a709](https://github.com/discordjs/discord.js/commit/863a70918aeabe2438336ba86e48af68befd3b39)) + +## Features + +- Trigger userUpdate on GUILD_MEMBER_UPDATE (#4697) ([178439e](https://github.com/discordjs/discord.js/commit/178439ef8c3c74448992774b8cab4000575e9c82)) +- **GuildMemberManager#prune:** Roles query param (#4142) ([f1194af](https://github.com/discordjs/discord.js/commit/f1194afd7c046a0ac3a89036f917187e4e95b4ec)) +- **GuildManager:** Adds GuildManager#fetch (#4086) ([2742923](https://github.com/discordjs/discord.js/commit/2742923df401f8edd0b01b2e0b07b4e838ddd817)) +- **typings:** Use readonly arrays in parameters (#4692) ([f451be0](https://github.com/discordjs/discord.js/commit/f451be0519b89bd60f5730491c37f652efb4f737)) +- **typings:** Add number type for setExplicitContentFilter method (#4694) ([e7eda72](https://github.com/discordjs/discord.js/commit/e7eda72c9dc6ac27206fe77b372af96dfc932254)) +- Bypass cache check with forceFetch param (#4592) ([290938b](https://github.com/discordjs/discord.js/commit/290938bf80fb8e7d30c66e33f019782178a4f791)) +- **BitField:** Add problematic bit to error (#4617) ([0225851](https://github.com/discordjs/discord.js/commit/0225851e404e2c8f9cf8bbeca7e83aea8d3cfc3c)) +- **Guild:** Updates for Community guilds (#4377) ([57ca3d7](https://github.com/discordjs/discord.js/commit/57ca3d7843605a944d41e82a0082aad20f15b669)) +- **Guild:** Discovery splash (#4619) ([5be6630](https://github.com/discordjs/discord.js/commit/5be6630843ef3c37b2f5090f9d3b13d26da3143e)) +- **types:** BitFieldResolvable use ReadonlyArray (#4604) ([f2f31a1](https://github.com/discordjs/discord.js/commit/f2f31a14c9d50cce2589208de25c8ae64d114408)) +- Deprecate GuildEmbed methods and properties in favour of GuildWidget (#4121) ([e92cbc4](https://github.com/discordjs/discord.js/commit/e92cbc444b525902fdab6825c193f8075772eeed)) +- **GuildEmoji:** Cache the author (#4334) ([b7740d4](https://github.com/discordjs/discord.js/commit/b7740d48598bcc1e5d35512439408d075dd167a8)) +- **Util:** Add missing colors to docs (#3843) ([03580b2](https://github.com/discordjs/discord.js/commit/03580b23a3a66ea3be773ecd4c8fe82487e3e17c)) +- Add Blob support for browser (#4338) ([1fbaf88](https://github.com/discordjs/discord.js/commit/1fbaf8816e6ca4af3f0fdaf92a58685f1342f94a)) +- **typings:** TypeScript support for changing $browser (#4667) ([e54c21b](https://github.com/discordjs/discord.js/commit/e54c21bc655472d4c42c31ecf7f0086d849f7a98)) +- **Module:** Add ReactionManager to exports (#4372) ([2b6e6d8](https://github.com/discordjs/discord.js/commit/2b6e6d86310a9f9fc4293c2f76f37690db9003e4)) +- **Message:** Support pin and unpin with reason (#4586) ([c79ac4d](https://github.com/discordjs/discord.js/commit/c79ac4d9fcef90166b406e196af93acc45b02e6c)) +- **MessageMentions:** Fix typings/docs, add resolvables support (#4339) ([214981f](https://github.com/discordjs/discord.js/commit/214981f0b1275dcabce81b8152a0826be8475eef)) +- **voiceState:** Add self_video property (#4346) ([54a7fda](https://github.com/discordjs/discord.js/commit/54a7fdadda6fcc42b25d1362bce6763edc6eb19d)) +- **Guild:** Add fetchVanityData (#4103) ([8030612](https://github.com/discordjs/discord.js/commit/8030612e522e56a84f7474420f7219d792075d6f)) +- **REST:** Allow options.query as URLSearchParams (#4143) ([257371d](https://github.com/discordjs/discord.js/commit/257371da288d5ac0d796de6802b951fa30245c0d)) +- **GuildMemberManager:** Nonce and chunk_count for _fetchMany (#4130) ([ec0227a](https://github.com/discordjs/discord.js/commit/ec0227a4768515cfd1d919d378a85cefc31f2575)) +- **Guild#fetch:** WithCount param (#4111) ([0266917](https://github.com/discordjs/discord.js/commit/026691702da7d1fcf9a959f00082f07f1e14b13d)) + +## Refactor + +- **GuildMemberManager:** Use data instead of query (#4370) ([49ad279](https://github.com/discordjs/discord.js/commit/49ad279c52f79ef62523858648bf5e0b3b378521)) + +## Typings + +- Add User#fetchFlags (#4138) ([6367f60](https://github.com/discordjs/discord.js/commit/6367f603f611e9dec2d5365225102fd7758f0e90)) +- **User:** Mark `locale` and `flags` as optional (#4127) ([46b9e25](https://github.com/discordjs/discord.js/commit/46b9e251901493393308b93ea0844ac2176cafe0)) + +# [12.2.0](https://github.com/discordjs/discord.js/compare/12.1.1...12.2.0) - (2020-04-17) + +## Bug Fixes + +- **PermissionOverwrites:** ResolveOverwriteOptions description (#4088) ([d709656](https://github.com/discordjs/discord.js/commit/d7096569c821c726117d3390b0200e6e8a7dfe24)) +- **Guild:** Sort text, news, and store channels together (#4070) ([fcacf1b](https://github.com/discordjs/discord.js/commit/fcacf1bc0d9d9ccf7fae5594dfec16eebe5e93ff)) +- **Typings:** GuildPreview#features and Integration#type (#4080) ([72a33cb](https://github.com/discordjs/discord.js/commit/72a33cb8c21ff895522e2f28e0aaa08270f7ccd4)) +- **ClientApplication:** Type fetchAssets as resolving with an a… (#4078) ([72a7f2b](https://github.com/discordjs/discord.js/commit/72a7f2b3ed046ffd66abb175b5d2293a3fa2afec)) +- **StreamDispatcher:** Correct property types (#4059) ([9ba4eff](https://github.com/discordjs/discord.js/commit/9ba4eff279185568f74277c02da6466cf9bbfbc0)) +- **BaseManager:** Remove declaration of remove method (#4069) ([a07c3c2](https://github.com/discordjs/discord.js/commit/a07c3c2f943e944ba288082fa215ddb7b577dd9c)) +- **Message:** Update MessageMention's roles on message edit (#4016) ([9e4c39a](https://github.com/discordjs/discord.js/commit/9e4c39ae533668a0cdcf8dccc55c440320d21682)) +- **Presence:** Add missing `userID` property to declarations (#4013) ([691e96c](https://github.com/discordjs/discord.js/commit/691e96c5cf60a8cdadb8650405ed2ec5c16f3d08)) + +## Documentation + +- **RoleManager:** Everyone role can't be null (#3995) ([a88b723](https://github.com/discordjs/discord.js/commit/a88b7239b5989f200ed87ce3e7ab63aa57fc696c)) +- **Webhook:** Id and token information (#3962) ([da5d928](https://github.com/discordjs/discord.js/commit/da5d92812e4fcf7d39f7a9177689894f8b7a1b66)) +- **MessageEmbed:** Document the constructor (#4077) ([4625881](https://github.com/discordjs/discord.js/commit/4625881c54d256e6fae17c906fae3a076ca1c527)) +- **MessageManager:** Document return type of delete (#4012) ([4c2308b](https://github.com/discordjs/discord.js/commit/4c2308b4c697e5c82e84bf54dc158784d0285b4e)) +- **ShardClientUtil:** Link Shard#message from send method (#4028) ([7ce58db](https://github.com/discordjs/discord.js/commit/7ce58dbd4a960a205df44c2b8ef3ae1d9ddf76ec)) + +## Features + +- **DataResolver:** Prefer streams over buffers (#4075) ([12187ef](https://github.com/discordjs/discord.js/commit/12187efdbd968b90a340f77c4b433f9b4220cb20)) +- **ClientOptions:** Allow setting default allowedMentions (#4085) ([7c6000c](https://github.com/discordjs/discord.js/commit/7c6000c5e3dd9974fff0acff75594cfa7c754962)) +- **ESModules:** Importing for esm modules (#3998) ([0a3759f](https://github.com/discordjs/discord.js/commit/0a3759f683542a7b4a219d44147ca449f3fee1c5)) +- **GuildMemberManager:** Customisable timeout for _fetchMany (#4081) ([ff3454e](https://github.com/discordjs/discord.js/commit/ff3454ef89deb84f68fef09f69f68e2651655f97)) +- User#flags (#4060) ([2e5a647](https://github.com/discordjs/discord.js/commit/2e5a6476d5752299bd6637474fb635264aa0d783)) +- **Message:** Add allowedMentions to MessageEditOptions (#4071) ([a8db988](https://github.com/discordjs/discord.js/commit/a8db9884d543651c63f2ed269754c9a114fa0231)) +- Add supported 4096 image size and jpeg format (#4031) ([1330e2d](https://github.com/discordjs/discord.js/commit/1330e2d246cf4e1b9e7f13a5f941ff086117a3fc)) +- **Guild:** PUBLIC_DISABLED and WELCOME_SCREEN_ENABLED features (#4009) ([849c632](https://github.com/discordjs/discord.js/commit/849c6324d3f724018b91780911200486f19563d7)) + +# [12.1.1](https://github.com/discordjs/discord.js/compare/12.1.0...12.1.1) - (2020-03-27) + +## Bug Fixes + +- **Typings:** Use Channel instead of *ChannelTypes in ClientEve… (#4001) ([5e49126](https://github.com/discordjs/discord.js/commit/5e491260a193f83a7aeeddd717a27fdc2fa426ac)) + +# [12.1.0](https://github.com/discordjs/discord.js/compare/12.0.2...12.1.0) - (2020-03-27) + +## Bug Fixes + +- **WebsocketShard:** Pass ignore ACK when Discord asks for a beat (#3993) ([65e8c92](https://github.com/discordjs/discord.js/commit/65e8c92d7c107fb9a3b3ff8fef5f896113508675)) +- **Typings:** Client message event should not emit PartialMessa… (#3983) ([f2fdb93](https://github.com/discordjs/discord.js/commit/f2fdb9331895da59546107efe245a2e0137ef2e7)) +- Always emit guildUnavailable when a guild becomes unavailable (#3975) ([2157401](https://github.com/discordjs/discord.js/commit/215740157bb85837e0f2c4bc9a7ce373b4bf1eb1)) +- **TypingStart:** Typing methods returning falsy values (#3939) ([495cfa9](https://github.com/discordjs/discord.js/commit/495cfa96c26a89b09a73c7dd11d85cfce6d3c7a8)) +- **Guild:** Default max presences value (#3970) ([0f38d80](https://github.com/discordjs/discord.js/commit/0f38d807c7275ace27d85e7b65a7189818da3f7b)) +- **Partials:** Correctly document properties for partialized st… (#3922) ([8b906c6](https://github.com/discordjs/discord.js/commit/8b906c69bb72e223c3956467d8e780ead5e27f42)) +- **Channel:** Ensure partial DMChannels get created (#3954) ([8c0a940](https://github.com/discordjs/discord.js/commit/8c0a940cdb85b40c49009a92f6d0d6da9e827f3f)) +- **MessageReaction:** Fetching a removed partial custom emoji (#3955) ([a36a65b](https://github.com/discordjs/discord.js/commit/a36a65b36ab5f91edad9b0d086528b534f1c4137)) +- **RequestHandler:** A global timeout implies limited (#3950) ([7b38f46](https://github.com/discordjs/discord.js/commit/7b38f46caf9790357eed5b24c118123a00c867fd)) +- **Util:** CleanContent should remove mentions after formatting… (#3936) ([44ac5fe](https://github.com/discordjs/discord.js/commit/44ac5fe6dfbab21bb4c16ef580d1101167fd15fd)) +- **GuildMemberRolesManager:** Type error should mention Role an… (#3931) ([e5264ab](https://github.com/discordjs/discord.js/commit/e5264aba3752f91af74cbd172abcecf9c48a0d93)) +- **GuildEmojiManager:** Throw an error if image resolving fails (#3934) ([ca75eb5](https://github.com/discordjs/discord.js/commit/ca75eb509aa3dcd93cb2487ed79d35726390aa10)) + +## Documentation + +- **MessageMentionTypes:** Move possible values to description (#3990) ([fee9a21](https://github.com/discordjs/discord.js/commit/fee9a218e8342ab64ba5ca2eefcd71d963d15739)) +- **MessageReaction:** Fix jsdoc for count (#3980) ([993411d](https://github.com/discordjs/discord.js/commit/993411d9fec3b741a5853b38f836c906f1844f02)) +- **VoiceState:** Improve phrasing of setChannel method (#3959) ([cd52424](https://github.com/discordjs/discord.js/commit/cd52424fb735de9664022b27008f4c6e936efc20)) +- **MessageEmbed:** Correct description of createdAt (#3897) ([a5267e1](https://github.com/discordjs/discord.js/commit/a5267e11639a639ff1a27f6415a0dc6ae3d0026e)) +- **PlayInterface:** Update example for broadcast ([7994b56](https://github.com/discordjs/discord.js/commit/7994b5612a8d791c02503648c954ca38072433b9)) + +## Features + +- **GuildPreview:** Implement support for "preview" endpoint (#3965) ([88133d0](https://github.com/discordjs/discord.js/commit/88133d0d774e703700fd92ea0a3a63cc78ac4f22)) +- **AllowedMentions:** Add support for MessageOptions#allowedMe… (#3893) ([df324e2](https://github.com/discordjs/discord.js/commit/df324e2c21171aa17bc4e43f4a36f78c2f0eaec1)) +- **Permissions:** Adds VIEW_GUILD_INSIGHTS (#3928) ([5b9cdc5](https://github.com/discordjs/discord.js/commit/5b9cdc5cd243b1588c285e22b90d92535a30b993)) +- **typings:** Allow event listener type param inference (#3944) ([2be9eba](https://github.com/discordjs/discord.js/commit/2be9ebaad2edca24f87f527397d4f2330f107a89)) +- **Types:** Support type-guarding using Channel#type string li… (#3918) ([69d69f2](https://github.com/discordjs/discord.js/commit/69d69f25b964b6a2bb13bd086696abec17782ca3)) + +## Typings + +- Add back accidental removal (#3984) ([5da734c](https://github.com/discordjs/discord.js/commit/5da734c3d4b6648f678befc92b537d215b41f489)) +- **Partials:** Fix unexpected TSC errors (#3957) ([a660515](https://github.com/discordjs/discord.js/commit/a6605155f0ed2090c9d629da68b7697b62c8fa13)) +- **StreamDispatcher:** Remove end event (#3945) ([609a545](https://github.com/discordjs/discord.js/commit/609a5451316df45c320a9da6907bc8b53f91254e)) +- **PartialTextBasedChannelFields:** Fix send overload (#3942) ([a53404f](https://github.com/discordjs/discord.js/commit/a53404fac3a5241abb3db94fd543ce1850d7251f)) +- **PartialTextBasedChannelFields:** Fix send overloads (#3935) ([d43f78c](https://github.com/discordjs/discord.js/commit/d43f78c84538225c197e3e9d1285f773d1f96521)) +- **Client:** Remove typingStop event (#3919) ([5b8f022](https://github.com/discordjs/discord.js/commit/5b8f02243c22fefd0f73d46aa585e285b916bd13)) + +# [12.0.2](https://github.com/discordjs/discord.js/compare/12.0.1...12.0.2) - (2020-03-08) + +## Bug Fixes + +- **APIRequest:** Only use form data when actually sending files (#3917) ([a4f7e07](https://github.com/discordjs/discord.js/commit/a4f7e07b3bf2ce297fe8c0898710f88d141ece85)) +- **MessageEmbed:** Skip validation of fields when inside a message (#3894) ([3e169cb](https://github.com/discordjs/discord.js/commit/3e169cb4d3e0bb53c1990dd6be4ce9ba67b4badb)) +- **Guild:** Resolve role id and call existing handler (#3904) ([f387337](https://github.com/discordjs/discord.js/commit/f38733778732039e541bab4e74e1a1dfcd056923)) +- Adapt #manageable to check for CONNECT for VoiceChannel (#3885) ([61ef46f](https://github.com/discordjs/discord.js/commit/61ef46ff3036d5feca5b90b43db3a83b14a8bbb1)) + +## Documentation + +- **Structures:** Add ExtendableStructure typedef (#3908) ([79a28b5](https://github.com/discordjs/discord.js/commit/79a28b55a8b1d9ce3fc0e559b0f2dcc0e7e89faf)) +- Make collections more accessible in docs (#3907) ([b5dfb55](https://github.com/discordjs/discord.js/commit/b5dfb5592389ec5471b4625ed5d644f9b27fab3e)) +- **GuildMemberResolvable:** An member -> a member (#3909) ([3c653aa](https://github.com/discordjs/discord.js/commit/3c653aafe82755fe7b419c9949c82c83a81e20e5)) +- **BitField:** Document constructors of deriving classes (#3903) ([bca4b03](https://github.com/discordjs/discord.js/commit/bca4b038a59224529b683942de8b95b22dcfb8cb)) +- **sharding:** ShardingManager#createShard doesn't spawn the s… (#3875) ([b5a7e5c](https://github.com/discordjs/discord.js/commit/b5a7e5cdf0538ac64303146a9af1107ece15ff49)) +- **faq:** Replace ffmpeg-binaries with ffmpeg-static (#3886) ([bfcd4be](https://github.com/discordjs/discord.js/commit/bfcd4befc9a6d56c4c7db5c736bd7f31524f097c)) + +## Performance + +- **VoiceConnection:** Skip redundant volume transformer on join (#3916) ([69d4153](https://github.com/discordjs/discord.js/commit/69d415301de2edce63b9ff0340887c3c2cdc682d)) + +## Testing + +- Update tests (#3865) ([9b5f005](https://github.com/discordjs/discord.js/commit/9b5f005394a2d6e418b02749d6be6fab8b3f85c8)) + +# [12.0.1](https://github.com/discordjs/discord.js/compare/12.0.0...12.0.1) - (2020-03-01) + +## Bug Fixes + +- **guild:** VerificationLevels (#3873) ([66e625c](https://github.com/discordjs/discord.js/commit/66e625c4c0c8c35f6d0891543af2ae68f0839a7b)) +- **message_mentions:** Lazy require GuildMember to avoid circular (#3877) ([cd746f3](https://github.com/discordjs/discord.js/commit/cd746f3069726b5999013eb75ab4c9dacde888d4)) + +# [12.0.0](https://github.com/discordjs/discord.js/compare/11.6.1...12.0.0) - (2020-03-01) + +## Documentation + +- Clarify which checks GuildMember#manageable does (#3870) ([2d67fbb](https://github.com/discordjs/discord.js/commit/2d67fbb24ceb140b1ec130d6722eda51015ef725)) +- **PartialRoleData:** Id is optional (#3866) ([c7f4485](https://github.com/discordjs/discord.js/commit/c7f4485cec3e777e36300d01116d1940ffcfdfbe)) + +## Features + +- Document intent error code messages (#3871) ([f4b1b39](https://github.com/discordjs/discord.js/commit/f4b1b398d9c15d43e012eb3b8971ae0fc8412dc0)) + +## Refactor + +- Make LimitedCollection an implementation detail (#3872) ([544bb78](https://github.com/discordjs/discord.js/commit/544bb78c8b55f66d4ff41d156da4a13de58ad9da)) + +# [11.6.1](https://github.com/discordjs/discord.js/compare/11.6.0...11.6.1) - (2020-02-29) + +## Bug Fixes + +- **playinterface:** Lazy require VoiceBroadcast to avoid circul… (#3864) ([713309e](https://github.com/discordjs/discord.js/commit/713309e7bb87b10ca7432fdbbd7ca65fcddd4882)) +- **typings:** Enum values for ChannelType (#3861) ([acdd832](https://github.com/discordjs/discord.js/commit/acdd832fe2288981b3df3cd1c3ffdca4fe31a208)) +- **typings:** Remove duplicate VerificationLevels (#3862) ([09e4912](https://github.com/discordjs/discord.js/commit/09e4912a9085a6b565ab8c4db9e99ec79090a0be)) +- **typings:** For intents (#3860) ([a6d3501](https://github.com/discordjs/discord.js/commit/a6d3501ff82ff95689ffaf0d69697fdfece205f3)) + +## Documentation + +- Bump version to 11.6.0 (#3863) ([34d352d](https://github.com/discordjs/discord.js/commit/34d352dcbe664708e56ff3ffb2e110063d27aabb)) + +# [11.6.0](https://github.com/discordjs/discord.js/compare/11.5.1...11.6.0) - (2020-02-29) + +## Bug Fixes + +- **guild:** Import paths ([d9e12b8](https://github.com/discordjs/discord.js/commit/d9e12b8bc26d4d85a2e1a7f64a958e43f25a6ea5)) +- **MessageEmbed:** Prevent possible destructuring error ([bbe169d](https://github.com/discordjs/discord.js/commit/bbe169deac64a65f283f76b65e56c59808584f82)) +- **Shard:** Cleanup after settling spawn promise (#3799) ([f95df6f](https://github.com/discordjs/discord.js/commit/f95df6f7d7aa59f5b425a1da611deaea2d13b0e8)) +- **typings:** MessageOptions#split (#3834) ([cf646b5](https://github.com/discordjs/discord.js/commit/cf646b5394e1f48eba6cf195e0860df4e32fed8b)) +- Client#sweepMessages should throw an INVALID_TYPE error (#3828) ([0280734](https://github.com/discordjs/discord.js/commit/02807347e7e899f476780d8632ddd62bffae11fa)) +- **MessageEmbed:** Various typos and fixes (#3819) ([52c0a40](https://github.com/discordjs/discord.js/commit/52c0a4067b4950aaa655488b112ddfd51c06264b)) +- **ReactionManager:** Update message if partial (#3789) ([bc5e295](https://github.com/discordjs/discord.js/commit/bc5e2950d065fd7c65259d050063299fc4468136)) +- **Message:** Handle undefined/null content in cleanContent getter (#3778) ([a36f386](https://github.com/discordjs/discord.js/commit/a36f3869b3e09fa3875f751797eea9ce92958c79)) +- **Guild:** Use snake case when editing system_channel_flags (#3781) ([878cc05](https://github.com/discordjs/discord.js/commit/878cc050d4311a0d81f602ab37beca265cf4be03)) +- **BaseManager:** BaseManager#valueOf should return cache (#3776) ([62b227c](https://github.com/discordjs/discord.js/commit/62b227c2bd194c5a6ed90bf5ca5ff45ecf59bdde)) +- **TextChannel:** Remove old nsfw regex check (#3775) ([324d9e0](https://github.com/discordjs/discord.js/commit/324d9e0a3af5d89dba35f6bc859f084b63adf104)) +- **Guild:** Update premiumSinceTimestamp on guild member update ([83bc6e0](https://github.com/discordjs/discord.js/commit/83bc6e0779a470b6636567b92e242b4dfc6f848a)) +- **GuildMember:** Manageable - let owner override (#3766) ([364914f](https://github.com/discordjs/discord.js/commit/364914fd35e0c882bb55fb2cdaf7916ea89c209e)) +- **GuildMember:** Manageable - let owner override (#3765) ([3f03901](https://github.com/discordjs/discord.js/commit/3f039016af127c31cffe0733c3b4b31566a6d146)) +- **Voice*:** Fix speaking event and voice receive (#3749) ([fbcd363](https://github.com/discordjs/discord.js/commit/fbcd363ec97a06b924256f7d09f6caff6069b9af)) +- Remove for..in in favor of Object.keys (#3745) ([6d7e1e4](https://github.com/discordjs/discord.js/commit/6d7e1e4953a8662de5dc75d3ba433e6fc7b992c4)) +- **TextChannel#bulkDelete:** Use GenericAction#getMessage to handle return value correctly (#3664) ([d8b4725](https://github.com/discordjs/discord.js/commit/d8b4725caa2e188e16c94f20ff7b3e5b821589ad)) +- **ClientUser:** Verified and enabled properties resetting (#3733) ([3ea9ac5](https://github.com/discordjs/discord.js/commit/3ea9ac57ddb6fa48ba26c5e181488bfcdef6b48a)) +- ***Collector:** Always run postCheck, remove 'translatation' of message collector options (#3718) ([099a1a4](https://github.com/discordjs/discord.js/commit/099a1a47e87e00fc770fa3abb1c2c5ea27bf18d0)) +- **RichPresenceAssets:** Add Twitch preview link for largeImageURL (#3715) ([a505a55](https://github.com/discordjs/discord.js/commit/a505a55e031593bafd6d638f9783f85d87e65965)) +- Only setMaxListeners when max listeners is not 0 (#3716) ([903f6ca](https://github.com/discordjs/discord.js/commit/903f6ca75f438db3966c179381fb98657db7473c)) +- **ClientDataResolver:** Return a user in resolveUser when passing guild (#3719) ([464ef25](https://github.com/discordjs/discord.js/commit/464ef25898ebd88c95d3578aae6318ef4985d72b)) +- **VoiceConnection:** Use Client#clearTimeout to clear timeouts (#3709) ([c5d2b96](https://github.com/discordjs/discord.js/commit/c5d2b9652446b13d2a1747f293271bdf4f47fff3)) +- **Presence:** Account for multiple activities everywhere (#3703) ([f501d06](https://github.com/discordjs/discord.js/commit/f501d06c0d5de872327be683c7f80d962eff3864)) +- Regression (changing voice servers) ([629c57f](https://github.com/discordjs/discord.js/commit/629c57f890fc5124384ae83f74c9190c1db2dd4c)) +- **Guild:** Assign GuildMember#selfStream, if present, when adding a member ([36c0496](https://github.com/discordjs/discord.js/commit/36c0496ea5e0716a041fb85140e1351abab5c93a)) +- **ShardingManager:** Assert shardList to be spawned, not totalShards (#3649) ([400cb56](https://github.com/discordjs/discord.js/commit/400cb563580b6383019325069d40a2be529f4d07)) +- **BitField:** Remove for..in in favor of Object.entries (#3650) ([11f9118](https://github.com/discordjs/discord.js/commit/11f9118551b511b5c133eacb2550729e5b696434)) +- Provide count on bulk deletion (#3682) ([59205a2](https://github.com/discordjs/discord.js/commit/59205a21522a0052128270e5bc1106f6806b8cef)) +- **typings:** Remove VoiceChannel#connection (#3676) ([f74ae12](https://github.com/discordjs/discord.js/commit/f74ae12d6ac8070ff67a2ba9ff6cd5e3e0cbcc42)) +- **ChannelDelete:** Mark messages of a deleted channel as deleted (#3572) ([d1d0d75](https://github.com/discordjs/discord.js/commit/d1d0d75d4a6f5e4ed1a4cd341eb9f46aab6ae7f3)) +- **Voice*:** Internally disconnect and cleanup when forcibly disconnected (#3597) ([cbabc16](https://github.com/discordjs/discord.js/commit/cbabc1663c12ae29fc94da90a207320a49b00e85)) +- **Webhook:** Edit channel when editing avatar (#3588) ([e660ea9](https://github.com/discordjs/discord.js/commit/e660ea90cc2553c53dbc702ccb49de26916a9eec)) +- **APIRouter:** Use proper symbol for util.inspect (#3589) ([1003607](https://github.com/discordjs/discord.js/commit/100360705ae29216f14129bc7a37f3870ec58fc6)) +- **Invite:** Fix valueOf returning undefined (#3582) ([d39f179](https://github.com/discordjs/discord.js/commit/d39f17925d1bc9a5f25adbc2f52f7807c4e8b163)) +- ***Collector:** Account for a max listener count of 0 (#3504) ([2e20e80](https://github.com/discordjs/discord.js/commit/2e20e8092bcd14fc992d51ba24e29e11b8ef0dc9)) +- **VoiceConnection:** Clear timeouts using Client#clearTimeout (#3553) ([9bcb6a0](https://github.com/discordjs/discord.js/commit/9bcb6a04ba43f7d6eebd48c81b84c227cd94a094)) +- **VoiceReceiver:** Delete opus encoder from map in stoppedSpeaking (#3499) ([91600a6](https://github.com/discordjs/discord.js/commit/91600a69463f127340cb9abca2bcfc6b770bdf1b)) +- Document ChannelData#reason (#3549) ([7011c51](https://github.com/discordjs/discord.js/commit/7011c512fb0c4a71682d5c53679e7fa27953dfab)) +- **Message:** Check for edited_timestamp in data when patching message (#3535) ([9e0705c](https://github.com/discordjs/discord.js/commit/9e0705cbc39f1be4b03a3cad5e2d216b7d1be4e9)) +- **docslink:** Partialtypes (#3510) ([c3228b4](https://github.com/discordjs/discord.js/commit/c3228b426370a6cc5d48cb41e28bbe9f731e8473)) +- Set messages deleted when their channel is deleted (#3519) ([48856c0](https://github.com/discordjs/discord.js/commit/48856c08155858ccb5db0f40960846e7f1cee4f9)) +- **Util:** Make arraysEqual avoid mutating the input arrays (#3506) ([8ddd061](https://github.com/discordjs/discord.js/commit/8ddd0616a99c1a8c4631cfe0f71ae64d38bfc76a)) +- **typings:** GuildChannel#parent and #parentID are nullable (#3509) ([2a78b00](https://github.com/discordjs/discord.js/commit/2a78b004541dc4b6f9ad723c60553a457ddd533d)) +- **typings:** GuildChannel#parentID is nullable (#3508) ([e936f07](https://github.com/discordjs/discord.js/commit/e936f071c04557e7349ea193de3a17e1dc963562)) +- **GuildChannelStore:** Default channel type incorrectly set (#3496) ([a03e439](https://github.com/discordjs/discord.js/commit/a03e439d6b5459aaef8671c34f20f193e1248208)) +- **BitField:** Throw when resolving invalid string constant ([41c0dd4](https://github.com/discordjs/discord.js/commit/41c0dd44eb53c8048c40e9ab5be5530d6330fb81)) +- **stores:** Add symbol.species for not-actual-stores (#3477) ([60f89bd](https://github.com/discordjs/discord.js/commit/60f89bd96f7e110617af021642a810e7fb71e694)) +- Typings for this-polymorphism of collections (#3472) ([d5831df](https://github.com/discordjs/discord.js/commit/d5831df7b18e3b71c9ad7057b85fc3c84aa7c609)) +- **typings:** Remove leftover typeof ([ea9e144](https://github.com/discordjs/discord.js/commit/ea9e1441905e67e2627a6f5e80a8d989d01376c5)) +- **typings:** Collection constructor ([33ecdd4](https://github.com/discordjs/discord.js/commit/33ecdd4c5039bc2e2c50f8f5a24783e2df21e4f7)) +- **typings:** Collections import ([ac44a7f](https://github.com/discordjs/discord.js/commit/ac44a7fc5717e4dfad52285658e2c529fcc60875)) +- **rate-limits:** Reactions buckets need to be shared with sub-… (#3439) ([278f185](https://github.com/discordjs/discord.js/commit/278f185b645353b1f85991cde50e828178e10715)) +- **Role:** Throw TypeError in comparePositionTo (#3466) ([8e0f525](https://github.com/discordjs/discord.js/commit/8e0f525d911ce27a8c6c34f0a6fa43107c206ddb)) +- Browser-compatability ([4fc461c](https://github.com/discordjs/discord.js/commit/4fc461c2f932709f51efd65a401d943a7efcec12)) +- Util#splitMessage when destructured (#3456) ([5d95a4b](https://github.com/discordjs/discord.js/commit/5d95a4b264eae333af67ecfceaad1aa63dfdea0e)) +- **typings:** Partially revert #3448 ([89d9b0f](https://github.com/discordjs/discord.js/commit/89d9b0f498b797ab15d7d1452ef0e25a9085fd59)) +- **GuildAuditLogsEntry:** Default to object with id for deleted targets (#3373) ([43c0a79](https://github.com/discordjs/discord.js/commit/43c0a794e13173359fb9439f8a21e54338fb5b57)) +- **ChannelStore:** Return existing DMChannels within add() (#3438) ([2a3fb70](https://github.com/discordjs/discord.js/commit/2a3fb705d0296266e3cd7e9976a47459c69653a9)) +- GuildMemberStore#_fetchMany (#3420) ([cc488a8](https://github.com/discordjs/discord.js/commit/cc488a8bd3dc39354967d132e34f63ff51e92b79)) +- **Webhook:** Return raw data if the channel is unavailable ([c786867](https://github.com/discordjs/discord.js/commit/c786867bd65d8f6661e3de9c9528768d1ec03d46)) +- **ReactionUserStore:** Remove method firing messageReactionRemove event twice (#3277) ([1851f74](https://github.com/discordjs/discord.js/commit/1851f747707d2863ab507a679b8345f6bcc05d0e)) +- **GuildMemberRoleStore:** Correctly reference the everyone role (#3434) ([12b48b7](https://github.com/discordjs/discord.js/commit/12b48b7cbb74b649d523fea40237b3cace66fff8)) +- **Message:** Delete method caused messageDelete event to fire twice (#3252) ([8ae7a30](https://github.com/discordjs/discord.js/commit/8ae7a30d0b4df8b6833bc754aaadbea8d75130ef)) +- Bots being unable to connect ([f79f024](https://github.com/discordjs/discord.js/commit/f79f0243438a89c4d8a910461800b1adff2fe6e5)) +- **GuildMemberStore:** Reject BAN_RESOLVE_ID error instead of throwing it (#3425) ([9e76f23](https://github.com/discordjs/discord.js/commit/9e76f233143f2f0fe0ff9a9e645f32dc8db44b26)) +- **typings:** Send overloads ([d14db52](https://github.com/discordjs/discord.js/commit/d14db521585f2b6b1a6c50d3a9acecc73bea25a3)) +- **GuildChannel:** Return GuildChannel in setPosition instead of Guild ([1121b2f](https://github.com/discordjs/discord.js/commit/1121b2f7bff4caabce2812fb618167304cb00c66)) +- Update issue templates ([651ff81](https://github.com/discordjs/discord.js/commit/651ff81bd522c03b5c9724a3a8c14eeb88dcd6b9)) +- **ClientApplication:** Fix ternaries ([b65a4f0](https://github.com/discordjs/discord.js/commit/b65a4f05da40a45e33f78fc43c9b8172a170a3df)) +- **ClientApplication:** Owner is still nullable ([1dd4c04](https://github.com/discordjs/discord.js/commit/1dd4c041e08068a8979a14cbdc5be95233634f2d)) +- **Guild:** Allow fetchMember to be used with an uncached user (#3333) ([6f49aad](https://github.com/discordjs/discord.js/commit/6f49aadf4f081c797728239759aab8620317c764)) +- **docs:** Backport documentation for Presence#clientStatus (#3315) ([0c61019](https://github.com/discordjs/discord.js/commit/0c6101901daee3f053e28cd0c879287e8c81de1d)) + +## Documentation + +- **readme:** Remove mention of uws ([08e7328](https://github.com/discordjs/discord.js/commit/08e7328b865a15b5b840f4a8880ef70ef127b61f)) +- **TextBasedChannel:** Fix typo (#3858) ([a04b4ca](https://github.com/discordjs/discord.js/commit/a04b4cae3e0767d891ffcc8c20ab47606768cac6)) +- **shard:** Add .cache to GuildManager in fetchClientValue exa… (#3857) ([31ee0d8](https://github.com/discordjs/discord.js/commit/31ee0d84d589212fe6280cdd7d9323bbd81eab1d)) +- **MessageEmbed:** Document `article` embed type (#3846) ([31a3a86](https://github.com/discordjs/discord.js/commit/31a3a86ebccf7db299588e9899d20c19dab80710)) +- **SystemChannelFlags:** Properly document and use resolvable (#3794) ([d406f42](https://github.com/discordjs/discord.js/commit/d406f42ce03f3e1cf1172dd0cfe4577c00ba514a)) +- **MessageAttachment:** Mark spoiler as readonly, order spoiler in typings (#3714) ([ccb83a7](https://github.com/discordjs/discord.js/commit/ccb83a71ee5b85abaf6e90bc5ca3987c708aa57f)) +- **WSEvents:** Add missing, remove duplicated and userbot events (#3800) ([c4c6ad4](https://github.com/discordjs/discord.js/commit/c4c6ad4a63fcbc46fdf4e6f1ea01472e67c31839)) +- **PermissionResolvable:** Move definition outside of class ([544b14a](https://github.com/discordjs/discord.js/commit/544b14a5ed3a89fe5a82984a94288a3104e12918)) +- Clarify what zlib-sync does (#3785) ([21d37ed](https://github.com/discordjs/discord.js/commit/21d37ed0cc71b227be0feadc4ffbcd522ca4f00e)) +- **Guild:** Channels is a manager of channels (#3779) ([d43692b](https://github.com/discordjs/discord.js/commit/d43692b0f2556f4aca6d9c8b9fea4d968d56ee71)) +- Info tag for ActivityType regarding CUSTOM_STATUS (#3758) ([b7ccf9a](https://github.com/discordjs/discord.js/commit/b7ccf9a53e85682443855195cf96ed6940e9a61f)) +- Info tag for ActivityType regarding CUSTOM_STATUS (#3757) ([3f8ea38](https://github.com/discordjs/discord.js/commit/3f8ea38b3a4217e02e997058ec1562ed41fedcc7)) +- Add extends to ChannelManager, cache is not nullable, resolveID accepts an object (#3771) ([94bb268](https://github.com/discordjs/discord.js/commit/94bb2686396ce97b50015b0fa34a6c27528afdbd)) +- ***Manager:** Fix child classes' cache type annotations (#3777) ([92bc634](https://github.com/discordjs/discord.js/commit/92bc63452019f22161df68b1684b4b2b7e120a70)) +- **Guild:** FetchBan returns a promise (#3752) ([8e9e93d](https://github.com/discordjs/discord.js/commit/8e9e93da1d9c96a7acf63cc1c5317a42e56afbd8)) +- **MessageMentions:** Backport mention order notice (#3712) ([d8419ac](https://github.com/discordjs/discord.js/commit/d8419ac2c72d1d78d1c869df23fd29e6aa60b472)) +- **MessageMentions:** Channels are actually in order (#3705) ([6302afb](https://github.com/discordjs/discord.js/commit/6302afb84bb05907d12790280c6074ff850497a3)) +- Replace all occurances of node-opus with @discordjs/opus (#3698) ([6a0fe46](https://github.com/discordjs/discord.js/commit/6a0fe467e5f6e08360bcce0bf3039f01e6dc8678)) +- **MessageMentions:** Add sort order notice (#3693) ([7f99be7](https://github.com/discordjs/discord.js/commit/7f99be739aa7f11b6323a08d9435acb784aeb011)) +- **ReactionStore:** ResolveID takes a reaction, not role (#3617) ([1237133](https://github.com/discordjs/discord.js/commit/123713305ad5a6aa1e5205a53713494009740aef)) +- **Client:** Clarify whose ToS are being violated (#3580) ([1d66062](https://github.com/discordjs/discord.js/commit/1d6606293a7b54a90dba2198161313a9977e5f04)) +- **README:** Link to guide page instead of source (#3566) ([1352bff](https://github.com/discordjs/discord.js/commit/1352bff2fd969092b48368ebc1f05a080572f827)) +- **README:** Travis badge => github actions badge (#3569) ([9a31e6e](https://github.com/discordjs/discord.js/commit/9a31e6e53a09cfa868bf3bbf45224821a182bc52)) +- NewsChannel and StoreChannel (#3557) ([cc466fa](https://github.com/discordjs/discord.js/commit/cc466fa4b9e096175f48899435c3865b2d12b351)) +- **readme:** Table of contents (#3539) ([e26697f](https://github.com/discordjs/discord.js/commit/e26697f07d00955e14d6756ef8a1230cc07f1b81)) +- **VoiceStatus:** Document name -> value, link in VoiceConnection#status (#3500) ([1861352](https://github.com/discordjs/discord.js/commit/18613526bd3ff147c374f466e95b640dd00f0b36)) +- VoiceStateUpdate always sends an instance of VoiceState (#3537) ([a61cfc3](https://github.com/discordjs/discord.js/commit/a61cfc3004e84738e3155dd275800d92cb1a96d5)) +- Rename LURKABLE to PUBLIC and update GuildFeatures type (#3484) ([ea8b4e7](https://github.com/discordjs/discord.js/commit/ea8b4e73559d118a826ac3b242c1a3626b4f6d29)) +- Document Message#author as nullable (#3464) ([d252ddf](https://github.com/discordjs/discord.js/commit/d252ddf9daa57311b8bc6435a959f2c49f901e3b)) +- **ClientOptions:** Document unit of restRequestTimeout (#3449) ([4c08812](https://github.com/discordjs/discord.js/commit/4c088123026e520f46cb4ee21bb90140d2501215)) +- Fix voice broadcast example code (#3436) ([3fcc862](https://github.com/discordjs/discord.js/commit/3fcc862c5fa336bb26c570655245d57e2e532f20)) +- **Guild:** Add missing features (#3406) ([e562564](https://github.com/discordjs/discord.js/commit/e562564123912f09725a6e03ecf4ba44d85de35a)) +- Fix typos (#3404) ([d8516ef](https://github.com/discordjs/discord.js/commit/d8516efa36f62ef8a6e33b0b35ba5f482e22d103)) +- **VoiceStateStore:** Document and type the class (#3294) ([20d7b3d](https://github.com/discordjs/discord.js/commit/20d7b3de5905bb0317483436df979f4250c67c1f)) +- **Team*:** Fix appliction -> team, tag -> mention ([4c11347](https://github.com/discordjs/discord.js/commit/4c11347511e24021ec4765c44ffb3cdf53e53619)) +- Add zucc to docsite welcome page (#3355) ([61e2e3e](https://github.com/discordjs/discord.js/commit/61e2e3e1add12d4ad6db63d3199387e8fc026d3e)) +- **RoleStore:** Update -> create in create method (#3349) ([6100ace](https://github.com/discordjs/discord.js/commit/6100aceef24abfff0d32fcf5a6ff79c2102d046f)) +- **Presence:** Document client property (#3342) ([f82f0af](https://github.com/discordjs/discord.js/commit/f82f0af9286b4ebf1350c725ba4251fef89b8b83)) +- **Client:** FetchVoiceRegions returns a promise ([6cd4c27](https://github.com/discordjs/discord.js/commit/6cd4c27faed8b3f1b9da41a87b7922cd286313b9)) +- **Guild:** Add missing features (#3336) ([19ef451](https://github.com/discordjs/discord.js/commit/19ef45130b8d3a226500a0ccd69f7d90aaa02430)) +- ***Resolvable:** Make them appear on the docs ([4a2335c](https://github.com/discordjs/discord.js/commit/4a2335c69c2e243f7f39db357acca393273d71ac)) +- **Constants:** Add missing GUILD_EMOJIS_UPDATE to WSEvents (#3325) ([ddcc6cf](https://github.com/discordjs/discord.js/commit/ddcc6cfec9ccb80d42e1d074bf03db2e0dae274e)) + +## Features + +- Intents bitfield (#3844) ([8a2f893](https://github.com/discordjs/discord.js/commit/8a2f8938be35e70f87ad99b3860116526e8622e6)) +- **MessageEmbed:** Support EmbedFieldData[] instead of EmbedFi… (#3845) ([6650d50](https://github.com/discordjs/discord.js/commit/6650d50a56c42aca9657b627d2333349bd05b181)) +- Reimplement disableEveryone into disableMentions ([9c8aaf1](https://github.com/discordjs/discord.js/commit/9c8aaf1bbcc220299e65cadb6ac54e1a7f208576)) +- **GuildMemberStore:** Add options.withPresences to fetch() (#3562) ([de4b4a0](https://github.com/discordjs/discord.js/commit/de4b4a0939e36c74a19019f5f1d0c47a7934956f)) +- **GuildManager:** Allow for more options for GuildManager.cre… (#3742) ([2ee0f1c](https://github.com/discordjs/discord.js/commit/2ee0f1cdc69dcd0c8f870bcecc3d36aef0e44ad1)) +- **RichEmbed:** Add toJSON returning an api-compatible object ([97457e1](https://github.com/discordjs/discord.js/commit/97457e1de260e367bc6d4c362a77a7e968b1340c)) +- **RichEmbed:** Backport spliceFields and normalizeField (#3762) ([6eaf63f](https://github.com/discordjs/discord.js/commit/6eaf63fb7c8fecb5cbee9713f65d35ee7de900a1)) +- **MessageEmbed:** Re-introduce MessageEmbed#addField (#3850) ([df88729](https://github.com/discordjs/discord.js/commit/df88729c44135ff9fdf5b3eb79ee1d3e09ff1b02)) +- Replace disableEveryone with disableMentions (#3830) ([9cb306c](https://github.com/discordjs/discord.js/commit/9cb306c823216130e5bddc268ba3aee025a5b98f)) +- GuildEmoji & Invite to GuildResolvable (#3637) ([91a025c](https://github.com/discordjs/discord.js/commit/91a025caaaadb49a4f6610ef1ff2f06d69784987)) +- **Collector:** Addition of resetTimer() (#3825) ([acf724e](https://github.com/discordjs/discord.js/commit/acf724e691678998cb6774846454913a183c9614)) +- **GuildAuditLogs:** Handle new event types (#3602) ([a69ebbe](https://github.com/discordjs/discord.js/commit/a69ebbe9d957a21d165caf0582c0640e501908e9)) +- **MessageEmbed:** Change toJSON method to return an api-compatible object (#3813) ([4ec01dd](https://github.com/discordjs/discord.js/commit/4ec01ddef56272f6bed23dd0eced8ea9851127b7)) +- Bring embed builder field manipulation in line with underlying array functionality (#3761) ([b727f6c](https://github.com/discordjs/discord.js/commit/b727f6c1b9dfca28f77908c28071da423fb3e503)) +- **PartialGroupDMChannel:** To support Invite#channel for group dms (#3786) ([161f907](https://github.com/discordjs/discord.js/commit/161f90761aa357f17066f4171a5f43f76a552eb7)) +- **Guild:** Add rulesChannel and publicUpdatesChannel (#3810) ([b0aed05](https://github.com/discordjs/discord.js/commit/b0aed050e3516d28fb05b71b65a88078b4816f91)) +- **Guild:** Add rulesChannel and publicUpdatesChannel (#3810) ([bea6da6](https://github.com/discordjs/discord.js/commit/bea6da621d0e37000826c6fddf6f33c964704443)) +- Add new MessageTypes (14 and 15) (#3812) ([b0d0b81](https://github.com/discordjs/discord.js/commit/b0d0b81c617deb88f8f72ff11cf9779f44502838)) +- **Message*:** Add missing fields, add support for flag editing (#3795) ([7e9c995](https://github.com/discordjs/discord.js/commit/7e9c995566d0ce4445d22fb1859b8a0370209e4b)) +- **Guild:** Add support for system channel flags (#3793) ([330c410](https://github.com/discordjs/discord.js/commit/330c410796b806e208afd118d931a8501998fbb3)) +- **GuildChannel:** Add support for clone options, deprecate old signature (#3792) ([ab866d6](https://github.com/discordjs/discord.js/commit/ab866d6b2e873fd81359d0f11ecd0e353021aabe)) +- Add new MessageTypes (14 and 15) (#3812) ([ef8acec](https://github.com/discordjs/discord.js/commit/ef8acecc70542c0ffbebe4626c111c5dbd1f7993)) +- **Message:** Add support for flag editing / embed suppression (#3674) ([46ee06b](https://github.com/discordjs/discord.js/commit/46ee06b4245ee930698f880ae35c90b321382858)) +- **Message:** Throw a TypeError if delete is passed a non-object (#3772) ([592021d](https://github.com/discordjs/discord.js/commit/592021df924344e44cdd38d39a6574c09fdbf7dd)) +- **BitField:** Add BitField base class (#3759) ([46e8bc4](https://github.com/discordjs/discord.js/commit/46e8bc44fccc9b564ce2f58b89f3a1c32002e9a6)) +- **GuildAuditLogs:** Handle new event types (#3760) ([dbdb49e](https://github.com/discordjs/discord.js/commit/dbdb49ee1cc1540e25808534f34a291705250555)) +- Remove datastores and implement Managers (#3696) ([bbdbc4c](https://github.com/discordjs/discord.js/commit/bbdbc4cfa789383b7b3dbecf5e6b8401ea2dd998)) +- **Integration:** Add guild integrations (#3756) ([c955fd0](https://github.com/discordjs/discord.js/commit/c955fd00c7ef5835e022db45ac16d8fe24689455)) +- **Constants:** Add CUSTOM_STATUS to ActivityTypes ([2589db6](https://github.com/discordjs/discord.js/commit/2589db6633e12920d34e25656737a21fbd5665d4)) +- **Presence/Game:** Multiple activities and custom status (#3747) ([17b8b23](https://github.com/discordjs/discord.js/commit/17b8b23b806fc26a2293bd851adca6c10c7f648e)) +- **Collector:** Add idle option (#3746) ([ccd6043](https://github.com/discordjs/discord.js/commit/ccd60438df2b4cc8761ad1244f096199450e5b2d)) +- **MessageReaction:** Add remove method and Client#messageReactionRemoveEmoji (#3723) ([030d263](https://github.com/discordjs/discord.js/commit/030d263a9e018a766c5f399624fe4f8ec2b7349c)) +- **MessageReaction:** Backport removeAll and MessageReactionRemoveEmoji event (#3741) ([ab7f9e8](https://github.com/discordjs/discord.js/commit/ab7f9e80b4b6f86ed8bf2ad56585188b3388dd36)) +- **GuildMemberStore:** Make timeout refresh after every GUILD_MEMBERS_CHUNK (#3645) ([90aa5b3](https://github.com/discordjs/discord.js/commit/90aa5b3500a2ba819db1c4facb65f9949b38fbc3)) +- **Webhook:** Backport missing properties (#3710) ([30adb37](https://github.com/discordjs/discord.js/commit/30adb378fcbdc7d932b72c950f4f8375c0c44864)) +- **MessageReaction:** Backport animated, client, created*, and url (#3711) ([88b675d](https://github.com/discordjs/discord.js/commit/88b675d38ad0994c8577f5bf8f63c3d5878b19d8)) +- **MessageAttachment:** Add spoiler getter (#3713) ([4ca1864](https://github.com/discordjs/discord.js/commit/4ca18647baf80b2d749d4f12307be6439606791a)) +- **Client:** Add support for INVITE_CREATE and INVITE_DELETE events (#3720) ([929ff9c](https://github.com/discordjs/discord.js/commit/929ff9ccd0f1aa3c1d070915d567f594077b8288)) +- **Client:** Backport INVITE_CREATE and INVITE_DELETE events (#3728) ([40afbc1](https://github.com/discordjs/discord.js/commit/40afbc1d7e9e22760018bef6ea604113864454fc)) +- **Guild:** Add fetchBan method (#3726) ([c779fe3](https://github.com/discordjs/discord.js/commit/c779fe3670b2279de8638de6f2e70e008b1b1804)) +- **Guild:** Add setBanner method and banner to edit (#3708) ([01826ae](https://github.com/discordjs/discord.js/commit/01826aeefe52a9314cedbd28ef1701b3c8fe5f5f)) +- **Message/Mentions:** Implement caching of members (#3684) ([0f49d67](https://github.com/discordjs/discord.js/commit/0f49d67e2ee80440f03a7dffca8be145b39a0ebf)) +- **Collectors:** Make collectors auto-stop when relevant structures are deleted (#3632) ([cbb8db3](https://github.com/discordjs/discord.js/commit/cbb8db3058464cd99186da294ad781af2a7f317e)) +- Use updated eslint action (#3699) ([d096e40](https://github.com/discordjs/discord.js/commit/d096e40f6fe025001dff64f0bee37ac26962998e)) +- **Presence:** Add support for multiple activities (#3661) ([ee0b7c1](https://github.com/discordjs/discord.js/commit/ee0b7c155a1767ed42e2756e53d56368e8b69929)) +- **Constants:** Backport VerificationLevels and missing APIError codes (#3688) ([07996d1](https://github.com/discordjs/discord.js/commit/07996d12a23cae6cde9429cff045b6d6c8e12190)) +- Dynamic property for ImageURLOptions (#3530) ([8014ddc](https://github.com/discordjs/discord.js/commit/8014ddcd1c651749fc64e8dfc0b0863422d57203)) +- **Speaking:** Add PRIORITY_SPEAKING bit (#3680) ([b5825c3](https://github.com/discordjs/discord.js/commit/b5825c33b0f07b57d174a7d0bf157b19dc99e73c)) +- **Webhook:** Add ability to change channel and specify reason to edit (#3587) ([fbe9bc4](https://github.com/discordjs/discord.js/commit/fbe9bc499b3f678b6a6236b03b1c632d245ab12e)) +- **Permissions:** Add any method (#3571) ([367c800](https://github.com/discordjs/discord.js/commit/367c80070f0b638a8658095dd1fe5de796af4c5e)) +- **Partials:** Add DMChannel/MessageReaction#fetch() and PartialTypes.REACTION (#3474) ([6af0da1](https://github.com/discordjs/discord.js/commit/6af0da10436b13b29033a1da0a7ea96598651029)) +- **RichPresenceAssets:** Add Twitch preview link for largeImageURL (#3655) ([bf31b28](https://github.com/discordjs/discord.js/commit/bf31b28ad95ce98840aac898209715b2c7b450ad)) +- **MessageMentions:** Cache mentioned members (#3601) ([97eac66](https://github.com/discordjs/discord.js/commit/97eac663b3e1292cc399c56eb701069301f4637d)) +- **Webhook:** Add type property and created* getters (#3585) ([ea76a56](https://github.com/discordjs/discord.js/commit/ea76a5663937afe78b58076eefb6ab1ed2fc1795)) +- Widen GuildResolvable to include more structures (#3512) ([b4f00bf](https://github.com/discordjs/discord.js/commit/b4f00bfb6be6e6db25ca33122bd6e4318f081bf4)) +- **Guild:** Add systemChannelFlags (#3559) ([f578cce](https://github.com/discordjs/discord.js/commit/f578cce9ac75114c51f7a4538974817a3836d3fd)) +- Add new MessageFlags.FLAGS & User#system (#3603) ([4378283](https://github.com/discordjs/discord.js/commit/43782839ec51519deb27977573fb44e516c35ec2)) +- **Webhook:** Addition of Webhook#avatarURL function (#3625) ([330d5db](https://github.com/discordjs/discord.js/commit/330d5db5868ad61bbdae5ba0b2090d10d76ae9c9)) +- **Activity:** Support for CUSTOM_STATUS activity type (#3353) ([2ca74d6](https://github.com/discordjs/discord.js/commit/2ca74d6b63392c09a388c58f9b04945e884646c6)) +- **GuildAuditLogs:** Add new event types (#3584) ([1bcc0c2](https://github.com/discordjs/discord.js/commit/1bcc0c2e1d7a8824529e63bee304ad1cb54ddfe3)) +- **MessageAttachment:** Add spoiler property (#3561) ([38d370f](https://github.com/discordjs/discord.js/commit/38d370fb18fdbf079b1c91793c0550e77667eccd)) +- **GuildMember:** Add selfStream (#3522) ([96037e1](https://github.com/discordjs/discord.js/commit/96037e107fc4eb7a19b8cd82187faa6d42429126)) +- **GuildMember:** Filter out duplicate roles when updating (#3502) ([f91ad70](https://github.com/discordjs/discord.js/commit/f91ad7023b901e41f1049ce7458208d6c2a4a26d)) +- **VoiceState:** Add VoiceState#streaming (#3521) ([a8f06f2](https://github.com/discordjs/discord.js/commit/a8f06f251f1af87650711d4c163ed32d909d4e18)) +- **GuildChannel:** Backport permissionsLocked getter (#3507) ([2610bf5](https://github.com/discordjs/discord.js/commit/2610bf57ae472ec263743ba559b23ca854a73a31)) +- External collection package (#2934) ([dad0cd8](https://github.com/discordjs/discord.js/commit/dad0cd8e81e3f530d5e0dda1ea45359c602372ca)) +- **constants:** Add verificationLevels (#3369) ([37ecf7b](https://github.com/discordjs/discord.js/commit/37ecf7b826db002875ff578e31bc9ac001b14882)) +- **Partials:** Add DMChannel/MessageReaction#fetch() and Parti… (#3261) ([b0047c4](https://github.com/discordjs/discord.js/commit/b0047c424b5417287d2ea64ed84538931935b698)) +- Guild#partnered (#3444) ([6f83e71](https://github.com/discordjs/discord.js/commit/6f83e715557ce834e0e5021846836698856a9fec)) +- **VoiceState:** Add kick method (#3462) ([c86a615](https://github.com/discordjs/discord.js/commit/c86a6154aa736aee6bde9fa76ebd34b24225ee79)) +- **Permissions:** Add new method Permissions#any (#3450) ([a6810e2](https://github.com/discordjs/discord.js/commit/a6810e2eaaea4021d0a283c7f20ff6d643d34f4f)) +- **typings:** Reply overloads for splitmessage ([c5cbf86](https://github.com/discordjs/discord.js/commit/c5cbf8677e72522a366d03c9c90e313b864ff582)) +- Abort Requests that takes a lot of time to resolve (#3327) ([e4309b2](https://github.com/discordjs/discord.js/commit/e4309b23d5f46133c79e5ff3692a13bc8c61cbdb)) +- **Invite:** Add targetUser(Type) (#3262) ([d62db23](https://github.com/discordjs/discord.js/commit/d62db232e792ef698f16d903e075d8977136624f)) +- **Util:** Fix animated part of parseEmoji regex and make id optional (#3407) ([b662678](https://github.com/discordjs/discord.js/commit/b662678f210ba893a2bb2c27ba781b2bf3ccfc16)) +- **Collector:** Allow collectors to be consumed by for-await-of loops (#3269) ([6d3c55b](https://github.com/discordjs/discord.js/commit/6d3c55b68cbdb258421e017577f52da0d8deaf85)) +- Overload for split always returning an array (#3411) ([5af8cb8](https://github.com/discordjs/discord.js/commit/5af8cb8e6e7591e81f758a8b0f6748db7c2f12f1)) +- Util.splitMessage always return an array (#3035) ([e645dd6](https://github.com/discordjs/discord.js/commit/e645dd6358d1ad60f81a919ddfebf7db2092b1bc)) +- **typings:** Constants export (#2915) ([547bf83](https://github.com/discordjs/discord.js/commit/547bf8310067503e76ec287a7928b0c44c78ed3e)) +- **Collector:** Add idle time for a Collector to stop itself (#2942) ([f1433a2](https://github.com/discordjs/discord.js/commit/f1433a2d97fb037660a33dc577d005d7f9676dda)) +- **Teams:** Backport support for teams (#3357) ([0cd7556](https://github.com/discordjs/discord.js/commit/0cd7556934b587e517a484075f2bee5d8dc0f243)) +- **Guild:** Add banner to edit method and add setBanner method (#3364) ([adb0823](https://github.com/discordjs/discord.js/commit/adb082305d41194f0392353f1da29d43f2bc5617)) +- Teams support (#3350) ([a22aabf](https://github.com/discordjs/discord.js/commit/a22aabf6a827f8643cf84939e9065b6c37b289e0)) +- **Emoji:** Backport delete method (#3343) ([c355236](https://github.com/discordjs/discord.js/commit/c355236f7f3bc7de5f421155c5ace870ff399180)) +- **Guild:** Add support for premium/boosting (#3332) ([b892436](https://github.com/discordjs/discord.js/commit/b8924369ea036509602a516b9a1ed4dcda202b1e)) +- **Guild:** Backport misc properties and setRolePositions (#3337) ([e6a378b](https://github.com/discordjs/discord.js/commit/e6a378b361680311776f7c5a815e3a53d9b3260c)) +- **Guild:** Default iconURL to gif if animated (#3338) ([1bec28b](https://github.com/discordjs/discord.js/commit/1bec28bd8105aa09f43492491be9dd9cc7f7d701)) +- **Guild:** Add setRolePositions method(#3317) ([8bc8ffe](https://github.com/discordjs/discord.js/commit/8bc8ffe168f9bd37a9fb372bd2b47d8be15d9f40)) +- Add support for premium guilds (#3316) ([c877580](https://github.com/discordjs/discord.js/commit/c87758086b81fda632a2f678ed46c4ab2ae8673f)) + +## Refactor + +- **GuildChannel:** Change overwritePermisions to accept an… (#3853) ([e4f567c](https://github.com/discordjs/discord.js/commit/e4f567c65ef3dfd1f0ae7ddc40a862445549f9d4)) +- Add some more consistency (#3842) ([1af1e0c](https://github.com/discordjs/discord.js/commit/1af1e0cbb8ef2f433054e2d16cb760e503cd5458)) +- Remove unused error in catch statements (#3820) ([0a1b9a5](https://github.com/discordjs/discord.js/commit/0a1b9a52853213fe9e6dc14a4a8f11b1ec5f9056)) +- **MessageEmbed:** Simplify initialization of files property (#3814) ([b347e9e](https://github.com/discordjs/discord.js/commit/b347e9ec26c74e7b2996c92d57edf206d3b31c54)) +- **VoiceChannel:** Use Permissions.FLAGS in speakable (#3780) ([562b5bf](https://github.com/discordjs/discord.js/commit/562b5bfca78a9c50d05a5ec658cffda04ff88b5c)) +- Remove `util` alias export (#3691) ([53a1f8f](https://github.com/discordjs/discord.js/commit/53a1f8fcd4e333e60c32f9f51dc4062708eec207)) +- **TeamMember:** Remove client from constructor (#3409) ([ab27dd0](https://github.com/discordjs/discord.js/commit/ab27dd0218c82492d3f0f5665a8a169af4d4641a)) +- Move Guild#defaultRole to RoleStore#everyone (#3347) ([2df4f22](https://github.com/discordjs/discord.js/commit/2df4f227a446a48330e941762374a262e138d2fd)) +- **Util.escapeMarkdown:** Allow separate escaping and add tests (#3241) ([00c4098](https://github.com/discordjs/discord.js/commit/00c4098bb315a92322d708fe4cf71d070508ab69)) +- **TeamMember:** Make id a getter ([d7b2146](https://github.com/discordjs/discord.js/commit/d7b2146c81d401d0fdefd8ec040a54dfce6067e5)) + +## Styling + +- Change let to const in MessageMentions (#3483) ([d280d1b](https://github.com/discordjs/discord.js/commit/d280d1b03f595f1c4464ab1a8ba20cf74088ec2d)) + +## Typings + +- Refactor how channel types are done (#3808) ([d33fc74](https://github.com/discordjs/discord.js/commit/d33fc741e3c1aa650a4a1e4ddb396e9f30c628a4)) +- **WebhookClient:** Client is not a client (#3838) ([6109669](https://github.com/discordjs/discord.js/commit/6109669c972726a1ee9f0d5ec97a66d3ef3cde60)) +- **WebhookClient:** Client is not a Client (#3829) ([44ff67d](https://github.com/discordjs/discord.js/commit/44ff67dc1192e4ca9aa1cf69390d0453c5302f0c)) +- **MessageEmebd:** Fix typings for addFields (#3821) ([54f24d1](https://github.com/discordjs/discord.js/commit/54f24d1fea7ea78672a61a4b1ac7af5efd0d19b0)) +- **MessageEmbed:** Properly mark properties (#3822) ([967b533](https://github.com/discordjs/discord.js/commit/967b533e9d5f08e2be50698fb98d38820d29d88b)) +- **MessageEmbed:** Add interfaces for props, fix copy constructor (#3492) ([e57ef25](https://github.com/discordjs/discord.js/commit/e57ef25082eb3b2447b73b551dfc7cc0d4d59a19)) +- **Invite:** Channel can be a PartialGroupDMChannel (#3823) ([28490e8](https://github.com/discordjs/discord.js/commit/28490e84b069fcab660c9158d27931e9b013209f)) +- **AddGuildMemberOptions:** Change accessToken from String to string (#3815) ([ecd8ccc](https://github.com/discordjs/discord.js/commit/ecd8cccddf9b83f4f7cd858fdcad9e436ac51794)) +- **Constants:** Add VerificationLevels (#3811) ([f6075a6](https://github.com/discordjs/discord.js/commit/f6075a6e3ac31674b66546481dfeae62329dc6cc)) +- **Guild:** Mark afkChannel* & applicationID as nullable (#3805) ([f852308](https://github.com/discordjs/discord.js/commit/f85230812ff6de4f1ba1c021c93fe308fb0685e6)) +- Add invite events to WSEventType and constants (#3782) ([6770c7c](https://github.com/discordjs/discord.js/commit/6770c7c786a195f166af4f159965a6d3e5541377)) +- **GuildMemberManager:** Fetch with no parameters returns collection (#3773) ([149f72b](https://github.com/discordjs/discord.js/commit/149f72b50be3b8ffb134d20911b513cfea1aaaf5)) +- Add HTTPOptions#api and export Constants as a value (#3768) ([fe7df70](https://github.com/discordjs/discord.js/commit/fe7df708e44e0280dfaf0f8e457b154781bb5140)) +- **Constants:** Add CUSTOM_STATUS to ActivityTypes ([a12e1e8](https://github.com/discordjs/discord.js/commit/a12e1e87ee2b0adbb46eff2b7d2f457859c1e39a)) +- **TextChannel:** Topic can be null (#3687) ([17237c7](https://github.com/discordjs/discord.js/commit/17237c70c8495f85b9ba57b9eb81d32bffbae683)) +- **RichPresenceAssets:** *ImageURL's options are optional (#3727) ([877577b](https://github.com/discordjs/discord.js/commit/877577badcaa17b0221b75d79c55b6de3eff4e3a)) +- **GuildEmoji:** Id isn't nullable (#3694) ([69c79a4](https://github.com/discordjs/discord.js/commit/69c79a4136619e4dcacfffb935aa9bd60aa2081c)) +- **VoiceBroadcast:** Add subscribers property (#3677) ([45cd58b](https://github.com/discordjs/discord.js/commit/45cd58b68ce61afcf44793e610f06ada44fb8d1f)) +- Fixed build error (#3689) ([62afafd](https://github.com/discordjs/discord.js/commit/62afafdbe9674801d8f8c52c0fe14c3d1bc90adf)) +- **BaseClient:** Remove delay parameter from setImmediate (#3667) ([a53d865](https://github.com/discordjs/discord.js/commit/a53d86579b8150de5388eef5d07520b26d3f7d04)) +- **GuildEmoji:** Make url not-nullable (#3656) ([155b682](https://github.com/discordjs/discord.js/commit/155b682f6c9b0be7525141c054257657539b29ae)) +- **ShardingManager:** Add options.shardList (#3657) ([c734979](https://github.com/discordjs/discord.js/commit/c734979ad4dc4be6999b3b1eef73d55b439c0ae4)) +- **Bitfield:** Add hasParams to toArray, fix serialize's type (#3579) ([fc27ce1](https://github.com/discordjs/discord.js/commit/fc27ce1a1533a3c412bcdd9b1ad25ef40b11f544)) +- TextChannel.topic & NewsChannel.topic should be nullable (#3628) ([e13b3f5](https://github.com/discordjs/discord.js/commit/e13b3f550dd550b5c3fb8ae211a456d330a7768f)) +- **Extendable:** Add missing channels (#3581) ([7d74e7e](https://github.com/discordjs/discord.js/commit/7d74e7e4196b42e45b57c6c20461664468bd8e43)) +- **Bitfield:** Use IterableIterator instead of Iterator (#3599) ([f56b442](https://github.com/discordjs/discord.js/commit/f56b442e83e4016015c9123d4308dbf9209eea76)) +- **GuildAuditLogsFetchOptions:** Specify concrete type of 'type' property (#3586) ([cbde819](https://github.com/discordjs/discord.js/commit/cbde819b6a21e008625c20ca575d44f4e450bd2f)) +- **Util:** Use StringResolvable (fixes old pull) (#3556) ([99466a9](https://github.com/discordjs/discord.js/commit/99466a99ede23572009ac0e63f29595bb30f7865)) +- **GuildEmoji:** Restore deletable, remove inherited property deleted (#3543) ([16db92e](https://github.com/discordjs/discord.js/commit/16db92ede8dc164346eca8482ea008cb21032c7b)) +- **Emoji:** Remove deletable, add deleted, mark nullable props (#3542) ([ca1bd61](https://github.com/discordjs/discord.js/commit/ca1bd61f4f061a9e15f9f636b7c8386417770683)) +- Optional reason for setNSFW and add deleted properties (#3505) ([a8e3657](https://github.com/discordjs/discord.js/commit/a8e365743ce3576bc0fce45963911da404d7bcdf)) +- Mark GuildMember#nickname as nullable (#3517) ([94ce19d](https://github.com/discordjs/discord.js/commit/94ce19dd1a6f9292c4548d7d7bb96cbe0b9342c6)) +- Mark GuildMember#nickname as nullable (#3516) ([3458693](https://github.com/discordjs/discord.js/commit/345869374845cf4fc4463fd0ac3eea9b582ee1d1)) +- Add missing rateLimitPerUser property (#3480) ([7485550](https://github.com/discordjs/discord.js/commit/748555036db31555593fdd65023dfe4096acf27a)) +- Make TypeScript interaction with channels better (#3469) ([d05334f](https://github.com/discordjs/discord.js/commit/d05334fd3cd8fb913e869654f25eb8230493de11)) +- **GuildChannel:** Add members getter (#3467) ([4072ffb](https://github.com/discordjs/discord.js/commit/4072ffb50d28a6918e1b9613f5a4a123e722cf7c)) +- **Client:** Remove 'resume', add 'replayed' parameter to 'shardResumed' (#3455) ([9e6a73d](https://github.com/discordjs/discord.js/commit/9e6a73d1a02450a67555adb09c7e0e9daef689ed)) +- **DataStore:** Correct return types for resolve, resolveID and remove (#3448) ([745a0ea](https://github.com/discordjs/discord.js/commit/745a0ea942e277499505e69e7890a1aa768f217a)) +- Switch overloads of RoleStore#fetch (#3397) ([7fae6e5](https://github.com/discordjs/discord.js/commit/7fae6e5bca8651fc28face08386ba876ab663cf1)) +- **Guild:** Add typings for setRolePositions ([8e18572](https://github.com/discordjs/discord.js/commit/8e1857286d5a9a2033b3ff7eb3bbb68500e46715)) +- **GuildChannelStore:** Add CategoryChannel as possible return value (#3326) ([e87e4a6](https://github.com/discordjs/discord.js/commit/e87e4a6f0e23aad52744c0254ba224c6518d85a6)) + +# [11.5.1](https://github.com/discordjs/discord.js/compare/11.5.0...11.5.1) - (2019-05-29) + +## Bug Fixes + +- Decode voice ws data as json ([8652e47](https://github.com/discordjs/discord.js/commit/8652e47c14eccd1c8cab27f0d1acb8d7335349e8)) +- StreamOptions#volume typings (#3303) ([d34b624](https://github.com/discordjs/discord.js/commit/d34b62414bca3a73cd5a3df9d2d5b2fcb81557b5)) +- Delete VoiceStates even for uncached members ([db56e0c](https://github.com/discordjs/discord.js/commit/db56e0cbae67f221db9265f6889ae2b4f5c987d4)) +- **Message#pinnable:** You can't pin system messages (#3279) ([8c213e9](https://github.com/discordjs/discord.js/commit/8c213e9088112e5aca4b5997dae38c1949b9a0d0)) +- **Message#pinnable:** You can't pin system messages (#3279) ([abebeac](https://github.com/discordjs/discord.js/commit/abebeac193f70e25c842cf4e51e12dd53e1096ca)) +- **GuildMember:** Do not create a channel key when editing ([06b72ee](https://github.com/discordjs/discord.js/commit/06b72ee19f2f33d9afe18f903b873c56bd524c6d)) +- **GuildMember:** Do not create a channel key when editing ([3ad16fa](https://github.com/discordjs/discord.js/commit/3ad16fa351cc6a806cd88f1839569b54198664af)) +- **typings:** Guild#member can return null (#3274) ([97de79b](https://github.com/discordjs/discord.js/commit/97de79bd5e34ab043a75db1f4fdb738bd20f21c3)) +- **READY:** Do not overwrite Client#user when reidentifying ([1bafa4b](https://github.com/discordjs/discord.js/commit/1bafa4b86bcedb62b2fb349dda06f0867273481b)) +- **WebSocketManager:** Rethrow unknown errors when connecting a WebSocketShard ([16fcfa3](https://github.com/discordjs/discord.js/commit/16fcfa3db37ac72d0e0b13a5bc03585903b8905e)) + +## Deprecation + +- Explicitly mark everything deprecated as `@ deprecated` (#3307) ([db492e6](https://github.com/discordjs/discord.js/commit/db492e66e239c16accbfbd8bed16846f92f89de8)) + +## Documentation + +- **StreamDispatcher:** Specify pausedTime is in milliseconds (#3295) ([34006cb](https://github.com/discordjs/discord.js/commit/34006cb51efd7ea43056c194a65b53e7a080039f)) +- **ChannelCreationOverwrites:** Revert incorrect rename of "id" property (#3273) ([e3d03ad](https://github.com/discordjs/discord.js/commit/e3d03adcf8569f472eeac543fefe3e26a9483586)) +- **TextChanne:** Specify unit of rateLimitPerUser (#3272) ([363cec3](https://github.com/discordjs/discord.js/commit/363cec31bcc2caa057f1ad967f964dcd842b719a)) +- **TextChanne:** Specify unit of rateLimitPerUser (#3272) ([55447fd](https://github.com/discordjs/discord.js/commit/55447fd4da08ae9e633dca3c4faff5a9b77d440e)) +- **Guild:** Fix typo in example of createChannel ([c844a7b](https://github.com/discordjs/discord.js/commit/c844a7b4e23298a154d1444ab74ffb96efe35ac0)) + +## Features + +- Throw custom error for uncached Guild#me (#3271) ([3f1232e](https://github.com/discordjs/discord.js/commit/3f1232ebf3ca9b3a08bee241fc4d2d90b8087d46)) + +## Typings + +- **VoiceState:** Add connection getter (#3292) ([9ca36b8](https://github.com/discordjs/discord.js/commit/9ca36b8eea5906fbfd583810230cd220369b762c)) +- **Guild:** Remove voiceConnection, add voice, cleanup rest ([97f3b6c](https://github.com/discordjs/discord.js/commit/97f3b6c5eb5596501ca4dbbf18b01de4ac5f358e)) +- **Collection:** Use T in accumulator and initialValue when reducing (#3284) ([b3060ea](https://github.com/discordjs/discord.js/commit/b3060ea229e5a5395f7fb67291ead0440e6c55ca)) + +# [11.5.0](https://github.com/discordjs/discord.js/compare/11.4.2...11.5.0) - (2019-05-11) + +## Bug Fixes + +- **Partials:** Client#event:messageUpdate(oldMessage) and MessageReactionAdd on guild channels (#3250) ([0dd3ed7](https://github.com/discordjs/discord.js/commit/0dd3ed72ef3e2c76fe330e13ec572ad05be505a2)) +- **Client:** Type status and do not throw an error if accessed before login ([67da457](https://github.com/discordjs/discord.js/commit/67da457c0a8a08188c0fe3a49e2b7ed4b514ba5f)) +- **WebSocketConnection:** Stringify data when no websocket is available ([60013b7](https://github.com/discordjs/discord.js/commit/60013b7a10cd6adeaf4844b755323beec169bae3)) +- **ClientUser:** Lint ([aa253d9](https://github.com/discordjs/discord.js/commit/aa253d95518b1c6fad1328372a832702a5ec66f0)) +- Typing map being reset for ClientUser (#3216) ([4e0cf87](https://github.com/discordjs/discord.js/commit/4e0cf87d0fd717d781d6e633402fb2b1b6ac6fd3)) +- Not checking for guild when creating a channel ([e0cfb7f](https://github.com/discordjs/discord.js/commit/e0cfb7fb36132abe4367d5ced1650e13a19dbb66)) +- Channels being removed from guild.channels ([4d7fc03](https://github.com/discordjs/discord.js/commit/4d7fc036a1c8e0b80c67242ab6f1eebf69a3fad6)) +- **MessageCreateAction:** Remove redundant GuildMemberStore#add call ([39115c8](https://github.com/discordjs/discord.js/commit/39115c8acc89ba3997c23e841533f36c5c5d6b7f)) +- **Guild:** Only update emojis when they are present in the payload ([6a07715](https://github.com/discordjs/discord.js/commit/6a07715c1de19a27dce8c38153ee5ddb06093967)) +- **typings:** Collection#find & findKey can return undefined (#3228) ([3f6d08a](https://github.com/discordjs/discord.js/commit/3f6d08a499e93840054742de28db2783058c7104)) +- Old objects not being cached (#3225) ([23e6414](https://github.com/discordjs/discord.js/commit/23e6414420dccc9d3a87e13d691aaa390eceaa34)) +- **Structures:** Allow multiple extensions by checking prototype chain (#3217) ([52b4f09](https://github.com/discordjs/discord.js/commit/52b4f09e58f796dd895539784b5f8117fd3df168)) +- Emit resume event, silent disconnects, error event param (#3192) ([1514df0](https://github.com/discordjs/discord.js/commit/1514df0f87cb7fc6cc210b00db977414c39665df)) +- **PresenceUpdateAction:** Emit presences again (#3214) ([cde955c](https://github.com/discordjs/discord.js/commit/cde955c7660d753fc1b51c5f94b4f51c6b0d8533)) +- **typings:** Remove duplicated Guild#defaultRole (#3211) ([39fd8fd](https://github.com/discordjs/discord.js/commit/39fd8fd6454aaa61e098ef8fac1a33aeede97f9a)) +- **Guild:** Sort roles with the same position in the correct order (#3184) ([923c945](https://github.com/discordjs/discord.js/commit/923c945b4bcacebafcd5e0210b485dfb702558c6)) +- **ApiRequest:** Filter out null query values ([00eb7e3](https://github.com/discordjs/discord.js/commit/00eb7e325a4bbc41faa7411a26c3c82cf60d83c1)) +- **ShardingManager:** Do not spawn the last shard early ([bfab203](https://github.com/discordjs/discord.js/commit/bfab203934395ebd8884b3fb6360d2d44a0778dd)) +- Remove GuildChannel fallback, and remove GuildChannel as extendable (#3165) ([bb92289](https://github.com/discordjs/discord.js/commit/bb92289e45b4d9d576a4277d0bfa082814d2bc20)) +- Internal Sharding, this time fixed™ (#3140) ([3f5161e](https://github.com/discordjs/discord.js/commit/3f5161eb76b71ab8984e39ff39bf2937b82f5b43)) +- MessageReactionRemove not emitting for partial messages (#3125) ([2341d13](https://github.com/discordjs/discord.js/commit/2341d13615fb0a4649ba719c072661b65a4927a5)) +- **APIMessage:** Edit shouldn't remove content (#3129) ([1673b6f](https://github.com/discordjs/discord.js/commit/1673b6f8f5bc53a30e2f2ef1123057d4e50c37c8)) +- **Role:** Proper undefined check for data.permission when editing ([579283d](https://github.com/discordjs/discord.js/commit/579283dfe9c35284eaa5ec2a8c1e081c48a78377)) +- **Emoji:** Reject explicit error when MANAGE_EMOJI permissions are missing (#3063) ([45a17e7](https://github.com/discordjs/discord.js/commit/45a17e7ebd8f4a92a5acd4ded36f10d89fe0cb55)) +- **Util:** SplitMessage throws an error if a chunk is too large (#3060) ([1618829](https://github.com/discordjs/discord.js/commit/1618829cc69b6b7bf264da8dd9f4dbcdd48b0e30)) +- **GuildMember:** Add explicit channel resolve error to member edit (#3059) ([a0ff72b](https://github.com/discordjs/discord.js/commit/a0ff72b556149334df525021a850096a15c27797)) +- Sharding issues, silent disconnects and code cleanup (#2976) ([793341d](https://github.com/discordjs/discord.js/commit/793341dbb401f2956d60fd6b9f94a611cf539126)) +- Ensure VIEW_CHANNEL permissions before trying to join (#3046) ([7324a99](https://github.com/discordjs/discord.js/commit/7324a993edf0c92c94ff70f3e5462535bfa08455)) +- **WebSocketShard:** Report correct resumed event count (#3019) ([f2ed93c](https://github.com/discordjs/discord.js/commit/f2ed93c08aba970a94671a0fec819035ad989195)) +- **Guild:** Ignore voice states referencing an invalid channel ([73aaab5](https://github.com/discordjs/discord.js/commit/73aaab51061b21cc21f0102703ba203e155d359d)) +- **ShardClientUtil#id:** Erroneously reporting as an array ([8230255](https://github.com/discordjs/discord.js/commit/8230255c68b94d68a4e8ffc559a98d08d1a08a7c)) +- **TextBasedChannel:** Added missing lastMessage functionality in textchannels (#2999) ([7186c91](https://github.com/discordjs/discord.js/commit/7186c910630a82b18e59f8da4e28bbc54ebf8a82)) +- **WebSocketShard:** Add websocket send error handling (#2981) ([5cbdf38](https://github.com/discordjs/discord.js/commit/5cbdf380289f0fd1d16330325dab71f8815396fc)) +- GuildBanRemove event name (#2983) ([b5d5c69](https://github.com/discordjs/discord.js/commit/b5d5c699e65bf14a77065a75aabd24e4972988a9)) +- **Util:** Throw an explicit error if a chunk exceeds the max length (#2936) ([ecaec29](https://github.com/discordjs/discord.js/commit/ecaec29380d31dcd94a30b4242bf26c5e4c395f7)) +- **GuildChannel:** Add explicit channel resolve error to member edit (#2958) ([23a16c3](https://github.com/discordjs/discord.js/commit/23a16c3a7369d021e6b76db938831599fd14fa78)) +- Sharding Issues & Cleanup (#2952) ([9085138](https://github.com/discordjs/discord.js/commit/9085138f0d0845cb52442c62e4dbe67bd1d284aa)) +- ShardClientUtil#count and ShardClientUtil#id typedef (#2956) ([e793338](https://github.com/discordjs/discord.js/commit/e793338d7403c98589e92943fee28068c18d481c)) +- (GuilChannel): clone method not taking overwrites into account (#2932) ([980d71f](https://github.com/discordjs/discord.js/commit/980d71f307cb62b47dac30bd45431bb859d622a1)) +- Client#userUpdate receiving wrong packet ([08002d0](https://github.com/discordjs/discord.js/commit/08002d0576c7dae89a625a8f11944ab81c4ff4c9)) +- Client#raw emitting twice ([7796cb5](https://github.com/discordjs/discord.js/commit/7796cb5d0589a40fa719676d4b8b129a3598732e)) +- Client#shards not being set properly ([be0d1cd](https://github.com/discordjs/discord.js/commit/be0d1cd6637bca837f687bfd00e07e8bacf52838)) +- **VoiceConnection:** Compare new speaking to old to avoid TypeError ([01476de](https://github.com/discordjs/discord.js/commit/01476de58250761ffe5eedc9ee6c9782576ca043)) +- **VoiceConnection:** Use Speaking#has to fire _stoppedSpeaking (#2896) ([2ba0003](https://github.com/discordjs/discord.js/commit/2ba00038d158ca40d59a9c83e2ac4f25e9d4baf0)) +- **Client#voiceStateUpdate:** NewState is guaranteed ([1607612](https://github.com/discordjs/discord.js/commit/16076124b2687ebb9cde40ec8585fca4c6588869)) +- Emit voiceStateUpdate on guildMemberRemove (#2892) ([183ba25](https://github.com/discordjs/discord.js/commit/183ba25fafa51b76ea38d77235f9d33dd2f02daa)) +- Revert #2768 (#2848) ([950abd4](https://github.com/discordjs/discord.js/commit/950abd4ac3053d2aea683e1eaf240aaff7cdd0a4)) +- **Shard:** Use DISCORD_TOKEN instead of CLIENT_TOKEN, see #2843 ([73b9b0e](https://github.com/discordjs/discord.js/commit/73b9b0e62b46144d0a0e834f600f53a7efbe27ed)) +- **ClientPresence:** Use possibly extended constructor from structures ([6b810b2](https://github.com/discordjs/discord.js/commit/6b810b23312d0fbb378744772ca45303cdc320b3)) +- **typings:** Fix compilation with 'strict' enabled (#2845) ([21999fa](https://github.com/discordjs/discord.js/commit/21999fa4a0f392ebc7ac8e5a5c1aa73879e0d49d)) +- **Webhook:** APIMessage require should be a const ([0ab69c5](https://github.com/discordjs/discord.js/commit/0ab69c5ad4ef6a9fe4070da4ec13b024ca17043a)) +- **Webhook:** APIMessage is not circular, fixes WebhookClients ([c0a9b08](https://github.com/discordjs/discord.js/commit/c0a9b08e73ffc2813e4dd6881d408f2c743242fc)) +- Webhook#send not resolving content ([53420fa](https://github.com/discordjs/discord.js/commit/53420fa4e7f3ef0e8ee361ed5aec23e02580b0ad)) +- **typings:** Remove UserConnection, fix various constructors ([1d77d1a](https://github.com/discordjs/discord.js/commit/1d77d1a9b89302316cf0093cffbb5e274c5a601e)) +- **HTTPError:** The path property should actually be the path ([ead99a5](https://github.com/discordjs/discord.js/commit/ead99a53b7c1838fa2061d22f7ee07a3612bfb3f)) +- **typings:** Move static properties above methods ([b1ce602](https://github.com/discordjs/discord.js/commit/b1ce602e79be6f56978a6ca3b0900838697d99f7)) +- Emit ReactionCollector#remove when reaction is removed by collected user (#2803) ([038b142](https://github.com/discordjs/discord.js/commit/038b142db287353f205bc954d3653e175d52c436)) +- **Guild#deleteEmoji:** Reject non emojis / emoji IDs (#2793) ([cd58599](https://github.com/discordjs/discord.js/commit/cd58599caf9de08597ad76c473253f68f0d5112f)) +- Better global ratelimit management (#2801) ([989c365](https://github.com/discordjs/discord.js/commit/989c365ef1c984462b3e7d9e6ba854c4629e36b8)) +- Reactions ratelimits (#2795) ([f326fe6](https://github.com/discordjs/discord.js/commit/f326fe67b1dec620c718e08ad8028abd0a577620)) +- **GuildChannel#lockPermissions:** Properties allow and deny always returning undefined (#2800) ([1fc84a9](https://github.com/discordjs/discord.js/commit/1fc84a95d0f87d91711ec3dc9270899a93f023f4)) +- Private_channels always returns an empty array on ready (#2787) ([9c2aeb7](https://github.com/discordjs/discord.js/commit/9c2aeb733a35c81f2d1b6261bea430cb9eeb6c13)) +- Guild#addMember incorrectly resolving userID ([93bf430](https://github.com/discordjs/discord.js/commit/93bf430fc74e75c2d46103eee507abafe328fbcd)) +- Voice not throwing errors on bad stream input (#2786) ([6f62d7d](https://github.com/discordjs/discord.js/commit/6f62d7d8166bcb17d44ec1128699316b9224a1dc)) +- **ClientApplication:** Message#application is a partial ClientApplication ([82993fb](https://github.com/discordjs/discord.js/commit/82993fbe510aa3f170708659fc39a3b25d07261b)) +- **webpack:** Properly minifying ([02f98cd](https://github.com/discordjs/discord.js/commit/02f98cd7e6b04cad51512ccbcd590d055130c70c)) +- **webpack:** Properly emitting process deprecation warnings ([7684ad3](https://github.com/discordjs/discord.js/commit/7684ad3ca6c93ce698685d1faed0708e4d95ea1a)) +- Actually fix Readonly typos ([928fb30](https://github.com/discordjs/discord.js/commit/928fb300407bf3aea98905708144dc7138035dd9)) +- Typo in Activity#flags ([c59d329](https://github.com/discordjs/discord.js/commit/c59d3299bcbe09ce12cd1b78ed5009a82d80363a)) +- Disable getter-return ([5523233](https://github.com/discordjs/discord.js/commit/552323363bf1bf84c792d920171673a61bf34220)) +- Pin & update deps ([d3e7dbc](https://github.com/discordjs/discord.js/commit/d3e7dbc738394b2152c4c63b8ea5425ef21db4ff)) +- WebhookClient should handle ratelimits properly ([4ee3cf0](https://github.com/discordjs/discord.js/commit/4ee3cf0b559924be605ea39be5917e151a813c05)) +- **RequestHandler:** DiscordAPIError#path should be the path, not the route ([d91deef](https://github.com/discordjs/discord.js/commit/d91deefd79ec621c73bd1e6e02afb9d939e67886)) +- Pin peer-deps to the latest version we allow ([ab0ede0](https://github.com/discordjs/discord.js/commit/ab0ede0d5a8dcb4f02a998123d7347be00a38e48)) +- Pin dev-deps to a higher version to avoid problems with upath on node 10 ([8afc1fa](https://github.com/discordjs/discord.js/commit/8afc1fa545848a409685bbd85595fe0bbe11599a)) +- **GuildBanAddHandler:** Not emitting guildBanAdd for uncached users (#2763) ([e935611](https://github.com/discordjs/discord.js/commit/e935611e50d3a55c35c9698c88639aae8a2d9b67)) +- Handle async stacks correctly (#2744) ([3f81b61](https://github.com/discordjs/discord.js/commit/3f81b613d83140cdf3d99b93ea74d83c52846b2c)) +- **Permissions:** Permissions itself is a valid PermissionResolvable ([5d889be](https://github.com/discordjs/discord.js/commit/5d889be6db65acc44f3a443b78d3165f9d6c0ed2)) +- **GuildAuditLogs:** Default target to object with target_id (#2742) ([700201e](https://github.com/discordjs/discord.js/commit/700201e3fe36651f77fbe06e2424adb90905d19d)) +- **Message:** Properly check for an edited_timestamp in patch ([616e0dd](https://github.com/discordjs/discord.js/commit/616e0dd3984ac175e1333e949aac091c21fd5cb8)) +- Fix GuildMember#presence getter and cleanup (#2751) ([6506252](https://github.com/discordjs/discord.js/commit/6506252054f5e3a72daeaeffde4daece0bda6d7f)) +- **Client:** Do not redefine _timeouts and _intervals of BaseClient (#2748) ([7525474](https://github.com/discordjs/discord.js/commit/75254748b1ca05bf6e3e2ae571bc7e2e4b6b2c16)) +- Util#cleanContent parsing of GuildMember ([bb0700a](https://github.com/discordjs/discord.js/commit/bb0700ade38300a7c87ce800d26c3a523b2fe1a9)) +- StreamDispatcher doesn't emit finish if ended while paused (#2648) ([bfde1dd](https://github.com/discordjs/discord.js/commit/bfde1dd8f2d7785dd2974c5310fac45634637855)) +- Message passing empty data to GuildMember#_patch ([edf9c44](https://github.com/discordjs/discord.js/commit/edf9c448fbbd6bd6ae7d5f9dcce75d96468adaa8)) +- GuildMemberStore now works with custom structures again ([d276850](https://github.com/discordjs/discord.js/commit/d276850c522571555da03d89e41e761c988910bd)) +- GuildMemberStore now patches existing members (#1870) ([332e30d](https://github.com/discordjs/discord.js/commit/332e30d31ecb75cbaeca2e1b76083f4f2dd0d39f)) + +## Documentation + +- (Client): disambiguate the description of channels collection (#3251) ([8915bc1](https://github.com/discordjs/discord.js/commit/8915bc1d37f1b83fc9bbd3cfef337bd5f75e4779)) +- **faq:** Bump to node 10.0.0 (#3224) ([f7f4607](https://github.com/discordjs/discord.js/commit/f7f4607b5ffa3fb3a31dac76262f0de7d27def0d)) +- Update node version requirement, npm install links, add update guide (#3220) ([d177877](https://github.com/discordjs/discord.js/commit/d1778772cdb0935e3eac4479969625c2a010f11c)) +- **Collector:** Specify the unit for `CollectionOptions#time` (#3219) ([bccbb55](https://github.com/discordjs/discord.js/commit/bccbb550b08364df38d7ae8e03d162d8565a76cb)) +- **WebSocketShard:** Mark non-nullable parameters as non-nullable (#3209) ([eb537b6](https://github.com/discordjs/discord.js/commit/eb537b6f4896d84cc660e95be8685223e8f9c785)) +- **Presence:** Add ClientPresenceStatus typedef (#3208) ([d9a053d](https://github.com/discordjs/discord.js/commit/d9a053df67b780b85e09657345bfa7c06c9cf41b)) +- **Collection:** Fix findKey jsdoc (#3204) ([3cd224d](https://github.com/discordjs/discord.js/commit/3cd224dc76568894cd407f75b6c794550164192e)) +- **faq:** Add a link to the guide, restructure a bit (#3082) ([2af101e](https://github.com/discordjs/discord.js/commit/2af101efbb0fe5c014727dc130a6307066395fe7)) +- Document constructors of extendible structures (#3160) ([ca43919](https://github.com/discordjs/discord.js/commit/ca43919642a80e1b332af88fac5a2d34f67a8b3d)) +- **Presence:** Add missing descriptions to clientStatus (#3127) ([5d10585](https://github.com/discordjs/discord.js/commit/5d10585af8f41cc5fbf49172a9ce143a4ad34f62)) +- **GuildEmoji:** Add @ name to requiresColons and managed properties ([97c196c](https://github.com/discordjs/discord.js/commit/97c196ca6ab1593101e20371914ca41dc7d2dae3)) +- **GuildChannel:** Fix setPosition's reason type (#3199) ([62cba2e](https://github.com/discordjs/discord.js/commit/62cba2e14850645254cb345d36ac5fb19c76a22a)) +- **Role:** Fix setPosition's reason type (#3198) ([266ac1c](https://github.com/discordjs/discord.js/commit/266ac1c659d9b40a8a7a944e26daf3cee2381b1c)) +- Mark getters as @ readonly ([e62833b](https://github.com/discordjs/discord.js/commit/e62833b5e1d0ee9314c58792b639b3dbb2ea705b)) +- RateLimitInfo#limit instead of requestLimit (#3132) ([be2f788](https://github.com/discordjs/discord.js/commit/be2f78851f55b6e3e9a5dfcfa7af78e039ba3954)) +- **Guild:** Update createChannel examples to not use deprecated overload ([32ad56a](https://github.com/discordjs/discord.js/commit/32ad56a562911b84f8b4e2e6192e17a183908525)) +- **MessageEmbed:** Add missing type value (#3106) ([4d3f766](https://github.com/discordjs/discord.js/commit/4d3f76656a7456fb4f196379346860114a70f1f9)) +- **GuildMember:** Add missing @name to document user property ([4289b18](https://github.com/discordjs/discord.js/commit/4289b18ab27110504a78c2f8b2ad7800912a623e)) +- **Structures:** Note about extending prior to instantiating client (#2884) ([db3ae01](https://github.com/discordjs/discord.js/commit/db3ae0159bf2d8a44e7ecda4b9835a08b9210e8b)) +- **Examples:** Fix usage of removed overload of Collection#find (#3027) ([3dff505](https://github.com/discordjs/discord.js/commit/3dff5058f0beae01cec0abe27e3a43c8fd7c60ce)) +- **Client:** Add missing example tag and closing parenthesis (#3024) ([3b7b282](https://github.com/discordjs/discord.js/commit/3b7b282b697f92ab74f9d9bb2a289d3355f3501b)) +- **Client:** Add missing parenthesis in fetchInvite example (#3023) ([5ed2a95](https://github.com/discordjs/discord.js/commit/5ed2a95856992733d59be9f48fc9ba300028e919)) +- **Guild:** Use 'updated' variable in example for setRegion ([28db527](https://github.com/discordjs/discord.js/commit/28db5273708af039ef6a5387273d4407d55f178c)) +- **Guild:** Use AuditLogAction for fetchAuditLogs' type option ([46fd7b0](https://github.com/discordjs/discord.js/commit/46fd7b093c3400f56f1ddce9746844cd029c9ff1)) +- **Webhook:** Add mising '@name' to Webhook#token's docstring ([89a9b93](https://github.com/discordjs/discord.js/commit/89a9b93cdc64518444d6fcbda0349fac04b24f8d)) +- **Webhook:** Add mising '@name' to Webhook#token's docstring ([840d22f](https://github.com/discordjs/discord.js/commit/840d22f8920f7648f97109d3df6f8a9b1da9f20f)) +- (TextChannel): add documentation for messages and lastMessage (#2986) ([2aa8e1d](https://github.com/discordjs/discord.js/commit/2aa8e1d9c1efb7dbdb6c9e417adf1fbe2b2f119e)) +- Move event docstrings to the emitting line of code ([fd21bbb](https://github.com/discordjs/discord.js/commit/fd21bbb7bfbfe0b51111653e140248145525d95f)) +- Add documentation for Client#channelCreate (#2967) ([1d1b3f2](https://github.com/discordjs/discord.js/commit/1d1b3f25e1ede5207212f8aafe985b423bf9c464)) +- **GuildChannel:** Fix doc string for clone method ([377ecd7](https://github.com/discordjs/discord.js/commit/377ecd73ea1c9c1f5dba47768d97a105075d6bac)) +- **GuildChannel:** Add rateLimitPerUser to ChannelData typdef ([6aa7792](https://github.com/discordjs/discord.js/commit/6aa7792097444376c76ef0cdb6b3cd218a887c4c)) +- Restore Client#error docs that went missing ([3418b5a](https://github.com/discordjs/discord.js/commit/3418b5a1a2e2e424369da42f0a04dc3523f3d933)) +- Add missing docstring for Client#guildDelete ([b59c75e](https://github.com/discordjs/discord.js/commit/b59c75e402b91d8a7ecec6f0b67180598e8ccdb5)) +- Add missing docstring for Client#userUpdate (#2930) ([905f1c3](https://github.com/discordjs/discord.js/commit/905f1c326259b841e47f7bccdad1fe8c79e36e95)) +- **ClientUser:** Fix example for setActivity method (#2880) ([fd25d19](https://github.com/discordjs/discord.js/commit/fd25d19c9c7dbdba745f5bbe5c08d59e5717b74d)) +- **Collection:** Clarify example for tap method (#2881) ([78c4be5](https://github.com/discordjs/discord.js/commit/78c4be52c60ea6fa2bb3b34d28562078e0b32082)) +- **Game:** Document possible values for type property ([b92f8d9](https://github.com/discordjs/discord.js/commit/b92f8d9c06d28e89619a257d19913c0d3f12d48f)) +- **Integration:** Document Integration class ([1428967](https://github.com/discordjs/discord.js/commit/142896723886dadfe92aedfccc1fd0a36b492376)) +- Fix typos (#2868) ([d8c97be](https://github.com/discordjs/discord.js/commit/d8c97be142548b934fb3067bf84ff6eb10146906)) +- Correct default value for SplitOptions.maxLength in Util#splitMessage (#2847) ([3298ea1](https://github.com/discordjs/discord.js/commit/3298ea186992d1574b5595b93d97e0e957851b97)) +- **MessageAttachment:** Redocument name property ([3f44320](https://github.com/discordjs/discord.js/commit/3f44320bbe23f5de829fdad0e19f4381f634ef62)) +- **Client:** Fix syntax error in fetchInvite example ([d2da771](https://github.com/discordjs/discord.js/commit/d2da771e0f28773587766ede94cfdae222deefa0)) +- **User:** Clarify what User#tag represents ([9de3e09](https://github.com/discordjs/discord.js/commit/9de3e098da9a2f601a227553aefe4595388b54d0)) +- **ChannelPinsUpdate:** Clarify time param (#2823) ([9c2924a](https://github.com/discordjs/discord.js/commit/9c2924a1b49d2621abd97f3354fe2a64eb134141)) +- **GuildChannel:** Permissionsfor returns a nullable readonly Permissions instance ([6b9dd13](https://github.com/discordjs/discord.js/commit/6b9dd13d43a8e8fd567151d5d4e6769925189f65)) +- Add docstring to HTTPError ([f75b80d](https://github.com/discordjs/discord.js/commit/f75b80d96b1f2594fd68d6eaf560d423078668c3)) +- Correct Guild#memberCount (#2812) ([da2d4d7](https://github.com/discordjs/discord.js/commit/da2d4d7230b32e5f22026e81b66e617d8622e715)) +- Added `url` to Invite's warning comment (#2804) ([b83fdbf](https://github.com/discordjs/discord.js/commit/b83fdbfefeef2e1014ccfcc7c8e74167b6bea492)) +- **Emoji:** Fix typo of the word "emoji" (#2791) ([469fbe2](https://github.com/discordjs/discord.js/commit/469fbe2889e27299af0479647f9145e85795450a)) +- **User:** Fix hydrabolt's tag (#2747) ([0ad7c24](https://github.com/discordjs/discord.js/commit/0ad7c24aa394249a5213a8e11a826821d4b56266)) + +## Features + +- **GuildMember:** Add support for voice kicking (#3246) ([ee42bdf](https://github.com/discordjs/discord.js/commit/ee42bdfd7686e08ae236b0f090a514d71d8fbbfe)) +- **Actions:** Use partials for messageDeleteBulk (#3240) ([176fc47](https://github.com/discordjs/discord.js/commit/176fc47699e43c0eeb5fc9d097ffea692e2cbc75)) +- **VoiceState:** Self mute/deaf methods (#3243) ([692494d](https://github.com/discordjs/discord.js/commit/692494dc043e0c98f9e5075138e461c9a972a615)) +- **VoiceConnection:** Add .voice ([ce1e3d2](https://github.com/discordjs/discord.js/commit/ce1e3d20847ea226839a4cba15dcefa875086d12)) +- **MessageStore:** Add remove() (#2468) ([2666a9d](https://github.com/discordjs/discord.js/commit/2666a9d6dbb6596b5893e7fbdb57c1d907a1ab6b)) +- Public raw events (#3159) ([9b0f4b2](https://github.com/discordjs/discord.js/commit/9b0f4b298d12ce95863265c32e8a0308ae51661a)) +- **VoiceChannel:** Add editable (#3173) ([870528e](https://github.com/discordjs/discord.js/commit/870528ed33b22b7a803915965da9f701cf62ccd2)) +- **Partials.GuildMember:** GuildMemberRemove & Guild#me (#3229) ([23191da](https://github.com/discordjs/discord.js/commit/23191da13d63ba3a8ceaf7c77f751ed27a22e6f4)) +- **Invite:** Add deletable getter (#3203) ([c4b7957](https://github.com/discordjs/discord.js/commit/c4b79571ba5bd468c6c2b27b7c6f43d421730dd5)) +- **Sharding:** Change `waitForReady` to `spawnTimeout` (#3080) ([01c708b](https://github.com/discordjs/discord.js/commit/01c708bc759fa85eb5259cb689b95e865ede7e33)) +- **Util:** Resolve text parameter of splitMessage to a string (#3212) ([abd9d36](https://github.com/discordjs/discord.js/commit/abd9d368161cbf5c4dd5df79aeeca67ba4d25900)) +- **MessageEmbed:** Resolve color in embed constructor (#2912) ([52bc5b0](https://github.com/discordjs/discord.js/commit/52bc5b0170e290291d9760c13a1969874f936e6d)) +- **Util:** Add YELLOW to ColorResolvable (#3182) ([520810d](https://github.com/discordjs/discord.js/commit/520810d48411013307ca310f0eff988a210266ca)) +- **Webhook:** Add url getter (#3178) ([c078682](https://github.com/discordjs/discord.js/commit/c078682722541713c9ac30f6777d6dafe560fcb5)) +- **Guild:** Add fetchBan and withReasons to fetchBans (#3170) ([5cd6d8d](https://github.com/discordjs/discord.js/commit/5cd6d8d380fec643ea8e0269e1aee8de160ec7b4)) +- **MessageStore:** Add cache parameter to fetchPinned() (#3154) ([9b2bf03](https://github.com/discordjs/discord.js/commit/9b2bf03ff6041148a0c6c6351a2bd74c44b4166a)) +- **MessageEmbed:** Add missing proxyURL property to video (#3109) ([7006f00](https://github.com/discordjs/discord.js/commit/7006f00ae4f2c9e23ec4f31bf2d1de9ae4c98b90)) +- **RichEmbed:** Add timestamp support for setTimestamp (#3061) ([49e8bd9](https://github.com/discordjs/discord.js/commit/49e8bd9eddd204c357f3f4850767705b86233cba)) +- **Guild:** Add position to createChannel's implementation (#3058) ([7bc2e23](https://github.com/discordjs/discord.js/commit/7bc2e231cf4e8f1e2f0c45d77c57a28feb8cdb8c)) +- **RichEmbed:** Add length getter (#3057) ([890b1be](https://github.com/discordjs/discord.js/commit/890b1be714e9de953d119703dbad5126743ad4b8)) +- **Presence:** Add clientStatus (#3056) ([a2a0c05](https://github.com/discordjs/discord.js/commit/a2a0c05102f228352e18c351a09787cbcb1e98f4)) +- **Util:** Add WHITE as color resolvable (#3062) ([5272cec](https://github.com/discordjs/discord.js/commit/5272cec6c8c3a24a79ced409a625d998ea7e289a)) +- **RoleStore, ChannelStore:** `fetch()` method (#3071) ([c432591](https://github.com/discordjs/discord.js/commit/c4325911130f30072246dd1b2e381c91293b3e6a)) +- **Constants:** Add error code 50020 (#2953) ([359ddaf](https://github.com/discordjs/discord.js/commit/359ddaf1dfa4cbeef20b75a628290868093fc8bd)) +- Presence#clientStatus (#2997) ([75e264d](https://github.com/discordjs/discord.js/commit/75e264da5744b7258d92865856f5f238947c1f47)) +- MessageEmbed#length (#3003) ([1db7899](https://github.com/discordjs/discord.js/commit/1db78994dde894e796934758c7701e7bb160af00)) +- **GuildChannelStore:** Add support for create to accept a position (#2965) ([21ec031](https://github.com/discordjs/discord.js/commit/21ec03140f182b93ddc151e9edbdb6da8d8ae703)) +- **GuildChannelStore:** Add support for create to accept a position ([a8b47a7](https://github.com/discordjs/discord.js/commit/a8b47a7a6cfa7a823dbb47f250fa5447f4c5320f)) +- **GuildChannel:** Allow to set all options when cloning (#2937) ([d92ee2f](https://github.com/discordjs/discord.js/commit/d92ee2ff999954899c891c093f5f107dd686b64f)) +- **Constants:** Add error code 50020 (#2953) ([54aff31](https://github.com/discordjs/discord.js/commit/54aff3191e3576dce519634fdbf31bbaabfd907c)) +- Internal sharding (#2902) ([f3cad81](https://github.com/discordjs/discord.js/commit/f3cad81f5314a3997ac188277e2471ba84cbd771)) +- **Emoji:** Move createdAt and createdTimestamp getters from GuildEmoji (#2872) ([71c04a3](https://github.com/discordjs/discord.js/commit/71c04a303a2c77e908d7c6f2ba742b520a2e1e73)) +- **ClientUser:** Allow options as first parameter to setActivity (#2890) ([1ee417c](https://github.com/discordjs/discord.js/commit/1ee417cd65e81c4c44669355baf3de717b5b8b3a)) +- **GuildChannelStore:** Support for create with rateLimitPerUser (#2878) ([8ec3b51](https://github.com/discordjs/discord.js/commit/8ec3b5134dcd55c5d18910ad0d751ef0c01568d6)) +- **MessageEmbed:** Add spliceField method (#2857) ([8feb874](https://github.com/discordjs/discord.js/commit/8feb87458645a27c103dcae9eed9803e976890f7)) +- **MessageEmbed:** Allow setTimestamp to take a timestamp (#2875) ([1fe3608](https://github.com/discordjs/discord.js/commit/1fe36087d4a665fc61905a84e69f2257437a1a72)) +- **TextChannel:** RateLimitPerUser (#2811) ([d4c0bb2](https://github.com/discordjs/discord.js/commit/d4c0bb2a0d9a103a6c8242439c918704b93ead85)) +- **TextBasedChannel:** Add lastPinTimestamp and lastPinAt (#2813) ([e96a603](https://github.com/discordjs/discord.js/commit/e96a60361ad76a9aee9205d09b2962e0d7979db1)) +- Add ClientOptions#retryLimit (#2805) ([be4d6f9](https://github.com/discordjs/discord.js/commit/be4d6f9dc31229b3557b464a0937967d56d760f1)) +- Guild Integrations (#2760) ([c4df027](https://github.com/discordjs/discord.js/commit/c4df02782efadbfa152a697d6085191efb54d272)) +- GuildEmbed support (#2766) ([5787dee](https://github.com/discordjs/discord.js/commit/5787deef264fd5cc2179c5f9584d49443d1eb0d9)) +- Handle and forward WEBHOOKS_UPDATE events (#2762) ([0401b8a](https://github.com/discordjs/discord.js/commit/0401b8ad779a210358975d2e4bd37bd570428c83)) +- Add guild.fetchVanityCode() (#2732) ([f8057b0](https://github.com/discordjs/discord.js/commit/f8057b01cb321d468c61b04227b9589fb4dcded1)) + +## Refactor + +- **ClientVoiceManager:** Make public, remove Client#voiceConnections (#3186) ([70d4b44](https://github.com/discordjs/discord.js/commit/70d4b4455b4b7687c7e00aae8f6db5f453f2c7d2)) +- **WebSocket:** Utilize URLSearchParams (#3185) ([152d2e8](https://github.com/discordjs/discord.js/commit/152d2e88bd94371e20df4702d08c139f6861ea02)) +- **APIRequest:** Utilize URLSearchParams (#3180) ([5e9bd78](https://github.com/discordjs/discord.js/commit/5e9bd786d13f2da11544e45e4ac9622269259789)) +- **User:** Avoid invoking dmChannel getter more than once per method (#3108) ([fe5563e](https://github.com/discordjs/discord.js/commit/fe5563e15857efa79d25a8bd0f5c4878b0b64c1b)) +- Consistently use permissionOverwrites over overwrites (#2886) ([6e5f088](https://github.com/discordjs/discord.js/commit/6e5f088e447548f0b4ef7d16680b877e14bc93aa)) +- **WebhookClient:** Make token property non-enumerable (#2861) ([96a0655](https://github.com/discordjs/discord.js/commit/96a065560990a5fd06e7bdf38c62502dcba71b9a)) +- Comprehensive permissionOverwrites refactor (#2818) ([3d8207a](https://github.com/discordjs/discord.js/commit/3d8207a3db2e555930d4bf809fe1bc98ec9cb348)) +- Remove duplicate send checks (#2790) ([6d18425](https://github.com/discordjs/discord.js/commit/6d184257b36bc66063d50ae38dbd4e13381e8ac2)) +- Clean up rate limit handling (#2694) ([13f46b9](https://github.com/discordjs/discord.js/commit/13f46b924be15371f377d3c5f128ac75ac98e4b4)) +- Rewrite message creation (#2774) ([19c298f](https://github.com/discordjs/discord.js/commit/19c298f5cc131f152befa80eb4e956e52feaa778)) +- **BitField:** Base class for Permissions, ActivityFlags, Speaking (#2765) ([c62f01f](https://github.com/discordjs/discord.js/commit/c62f01f0e4e3c24c3227b10704ac3ccf8744a6e1)) +- Typings for voice state and presences refactor ([9b5df57](https://github.com/discordjs/discord.js/commit/9b5df571b36010c2c936f53bfb04550e4adbd711)) +- Merge typings into 11.4-dev branch ([efc8445](https://github.com/discordjs/discord.js/commit/efc8445260095bcc58e30b0c325caad43109a6b7)) + +## Testing + +- Add Webhook(Client) testing file (#2855) ([cbb9b14](https://github.com/discordjs/discord.js/commit/cbb9b14950dd8866557406a014b7b08e4c2acff4)) +- Add typings lint runner to test script ([68c8329](https://github.com/discordjs/discord.js/commit/68c832957d690b72cdfa543d162d8f369c8c02d7)) +- **lint:** Update typings lint script ([3b91fa0](https://github.com/discordjs/discord.js/commit/3b91fa0b492d23cb18ed4acc5346a552dd8b2ce7)) +- **lint:** Fix typings lint errors ([5fdd3a5](https://github.com/discordjs/discord.js/commit/5fdd3a5877131e2744f7189fe2097a78e9ec2648)) +- Fix typings lint script ([29d51fa](https://github.com/discordjs/discord.js/commit/29d51fa582c834161cdf3076674c3f5ef2548431)) + +## Typings + +- **Presence:** Add missing guild property ([8b83e2f](https://github.com/discordjs/discord.js/commit/8b83e2fdcbead62ef018b6423f02e07ade0cd40f)) +- **GuildChannel:** Add manageable getter ([12e041b](https://github.com/discordjs/discord.js/commit/12e041bc2b88e01d925a42296ee8a4c186772b76)) +- **Collection:** Add missing thisArg to partition (#3167) ([4b6e8fc](https://github.com/discordjs/discord.js/commit/4b6e8fcab5324392d9b91822006c05d2f4819a40)) +- **Collection:** Add typings for partition (#3166) ([831f988](https://github.com/discordjs/discord.js/commit/831f988fe2258bbdd5b3459bfbe830e4a5510a6c)) +- **Guild:** Add missing defaultRole property (#3126) ([1207c24](https://github.com/discordjs/discord.js/commit/1207c243d1d819b2a78230bb194e07f14d966ea9)) +- Convert types to interfaces where applicable (#3068) ([bc0a761](https://github.com/discordjs/discord.js/commit/bc0a761e2242c55db91192fd0a3e438507354e21)) +- **SnowflakeUtil:** Add optional "timestamp" parameter to generate (#2998) ([8b602eb](https://github.com/discordjs/discord.js/commit/8b602ebed48b9aba93c8c9222ed58d8c745b1690)) +- **ShardClientUtil:** Fix `id` property type (#3054) ([ae72690](https://github.com/discordjs/discord.js/commit/ae7269088b99dfff614ea66ba9c67baeb1bd9169)) +- **GuildCreateChannelOptions:** Added missing properties (#3052) ([d98d464](https://github.com/discordjs/discord.js/commit/d98d464d748a75e242b6e95a1308235bf4016e1b)) +- Add missing ImageSize numbers (#3045) ([2dcdc79](https://github.com/discordjs/discord.js/commit/2dcdc798ace9bace7fb6800a245f0f3802d0477d)) +- **TextBasedChannel:** Fix create(Message)Collector's options type ([17ca836](https://github.com/discordjs/discord.js/commit/17ca83663f9cacb61d5ba13f4a60419ae4284643)) +- **Guild:** Fix typos in method names ([9d83516](https://github.com/discordjs/discord.js/commit/9d8351691815c115fba015a5458a2b36d4601354)) +- **TextBasedChannel:** Add `Snowflake[]` overload to bulkDelete (#3001) ([8a76cc5](https://github.com/discordjs/discord.js/commit/8a76cc5c725ffcfe8131c652de3d16be1f51439a)) +- **SnowflakeUtil:** Add optional "timestamp" parameter to generate (#2998) ([8286d1a](https://github.com/discordjs/discord.js/commit/8286d1a0fc3e86a10b7d5f977836b0e0fe611c27)) +- **RichEmbed:** Add MessageEmbed as valid data in constructor ([351f0a3](https://github.com/discordjs/discord.js/commit/351f0a32bfd11f6f7e826bb6dbbd919db34cc5f9)) +- Add Guild#shard and Guild#shardID ([6b886b0](https://github.com/discordjs/discord.js/commit/6b886b0abad86a314cbdf76ab85872b46ed2ef63)) +- **MessageEmbed:** Add spliceField and static checkField methods ([4491b7b](https://github.com/discordjs/discord.js/commit/4491b7b42ae19ca81338736d811f3b12d493a5f3)) +- **Collection:** Each return Collection, not void ([27d2ce7](https://github.com/discordjs/discord.js/commit/27d2ce7baf9a25d2e5eec76cd66b8ca14aabd5ee)) +- Fix lint script and linter errors ([fcf4745](https://github.com/discordjs/discord.js/commit/fcf4745a43d58b2d7049109d009dd7d3b5eaf530)) +- Add HTTPError class definition (#2852) ([60ad905](https://github.com/discordjs/discord.js/commit/60ad9053a3f7d0cfcfe9871bc5aa6eca791caf02)) +- **Message:** Member property is a readonly getter ([2cc0a31](https://github.com/discordjs/discord.js/commit/2cc0a31d5cb3356f99241e998b6e91d3bc3785e3)) +- Add declaration of Message#url and MessageAttachment#size (#2821) ([b068abb](https://github.com/discordjs/discord.js/commit/b068abb5deb5e60a361278efdb8ae1b9dbaf39b0)) +- **GuildChannel:** PermissionsFor's return value is nullable ([75745fe](https://github.com/discordjs/discord.js/commit/75745fe2ba06b769c1e6754dca3227fad601ed96)) +- Clean up permissionResolvable ([2e2c9c4](https://github.com/discordjs/discord.js/commit/2e2c9c4b9a96d335f3b13fadcfae84d08ca4d98d)) +- Add WEBHOOKS_UPDATE ([bd14d5d](https://github.com/discordjs/discord.js/commit/bd14d5d2fa9b5865ca9c2791281dc68494db929b)) +- Fix PermissionResolvable typedef, allow resolving of Readonly> ([55c58b6](https://github.com/discordjs/discord.js/commit/55c58b60e769c0b6582059b55944d5d25f47ac07)) +- **Guild:** Add fetchVanityCode ([7546ca3](https://github.com/discordjs/discord.js/commit/7546ca3fe02fdd0f48097d9cbb3a8ec1284b3bfb)) +- VoiceState is extendable ([e7ee8d2](https://github.com/discordjs/discord.js/commit/e7ee8d21d7f45e29382515fab431a5515e718720)) +- Remove UserFlags and ClientApplicationCreateAssetsOptions ([58ce082](https://github.com/discordjs/discord.js/commit/58ce08255f45ebb1eba1802e907adc4cd90a50bc)) +- **VoiceRegion:** Remove no longer existing sampleHostname ([c966aa2](https://github.com/discordjs/discord.js/commit/c966aa24579a27e7546862810aea3792a5cbd4eb)) +- **VoiceConnection:** Receivers is now receiver and no longer an array ([6841b4e](https://github.com/discordjs/discord.js/commit/6841b4e66a9783c731ab2bf1b1bee2090b6a140d)) +- Remove user bots ([5942e8b](https://github.com/discordjs/discord.js/commit/5942e8becc893beb8053e6ef9579aaebf0fa3e15)) +- Make PermissionResolvable recursive ([f5b3dff](https://github.com/discordjs/discord.js/commit/f5b3dff7f5a20ceb9c669e9300584daa765b8f98)) +- **Client:** VoiceStateUpdate now always has an old state ([9a95b6a](https://github.com/discordjs/discord.js/commit/9a95b6a1e81ff31478a69580c549537fca1fc118)) + +# [11.4.1](https://github.com/discordjs/discord.js/compare/11.4.0...11.4.1) - (2018-08-12) + +## Bug Fixes + +- **ClientDataManager:** Replacing channels unecessarily ([d772bff](https://github.com/discordjs/discord.js/commit/d772bff6329543413e988b4cb43b47589cb1d286)) +- **PresenceStore:** Pass user id as extra (#2733) ([b7e61f2](https://github.com/discordjs/discord.js/commit/b7e61f21ca50b33d8cba3f74f30d5c39bb66fe54)) +- Util.basename being unreliable (#2679) ([0f63c50](https://github.com/discordjs/discord.js/commit/0f63c50c063e072f034ead0d6a94ff31b0e3fd5d)) +- **Collection:** Use Symbol.species for creating derived collections (#2715) ([ce8a679](https://github.com/discordjs/discord.js/commit/ce8a679a14122fd0eaac3fe87a53e3049bebc058)) +- RichEmbed#_apiTransform fields ([7126cad](https://github.com/discordjs/discord.js/commit/7126cade4559233ebf96ee3ba78bb27da1923596)) + +## Documentation + +- Update for 11.4.0 (#2727) ([8b1bb95](https://github.com/discordjs/discord.js/commit/8b1bb95b1ad805cbcf9104e4a528eb02202b375e)) +- **Client:** Actually fix rateLimit's event params ([8adfc97](https://github.com/discordjs/discord.js/commit/8adfc97409312890e2063ae2c107ac974e5410e8)) +- Fix client#rateLimit parameters ([0e370d7](https://github.com/discordjs/discord.js/commit/0e370d7a4c44d08d10fe4b5a50bc0470872ac587)) + +# [11.4.0](https://github.com/discordjs/discord.js/compare/11.3.2...11.4.0) - (2018-08-09) + +## Bug Fixes + +- **Collection:** Use `new this.constructor` instead of `new Collection` (#2709) ([c10b4fe](https://github.com/discordjs/discord.js/commit/c10b4feeeb7705903593ba134df128c57a823ff1)) +- Wrong _patch call from GuildEmoji#edit and other issues (#2673) ([4ae58f6](https://github.com/discordjs/discord.js/commit/4ae58f66f4b46e789b3eb050f1dca9e09db71e0a)) +- Shards not receiving regular messages ([88616ea](https://github.com/discordjs/discord.js/commit/88616eaf3e1854d1ce2f787658059f1617e8f34f)) +- **Emoji#fetchAuthor:** Reject with Error rather than TypeError ([4a9c2f8](https://github.com/discordjs/discord.js/commit/4a9c2f8884c9ebebaca542187fb69c58c6bd1a4e)) +- **GuildEmoji:** Added a check for managed emojis in fetchAuthor (#2645) ([f963621](https://github.com/discordjs/discord.js/commit/f963621ef1ad952bfe38f42a65c9025967f3bf50)) +- **MessageReaction:** Only delete reaction if cache and count is empty (#2661) ([3a7a7d7](https://github.com/discordjs/discord.js/commit/3a7a7d730bcedf4a11789467f9d436d46949c9d2)) +- **Invite:** Support for group dm invites (#2603) ([3680661](https://github.com/discordjs/discord.js/commit/36806612bfb6af48a99a4dfff45a9823d4d391bd)) +- **GuildAuditLogs:** Default to PartialGuildChannel if channel deleted (#2605) ([886c212](https://github.com/discordjs/discord.js/commit/886c21223ec63f6a938ee4665ddcd8fdfff64a24)) +- **ShardingManager:** RespawnAll shard iteration ([f67d682](https://github.com/discordjs/discord.js/commit/f67d682223a0b0d330ec34738a3dfe51a50f3d8f)) +- **Message:** Keep reply option when replying with an embed or attachment ([1d9edec](https://github.com/discordjs/discord.js/commit/1d9edec56719b805bb48892994f611b1868c5a6b)) +- **Message:** Keep reply option when using an embed or attachment ([5268320](https://github.com/discordjs/discord.js/commit/526832058e78de8d8936e8db61b60775a0bcf3a5)) +- **Webhook:** Import Channel correctly ([077d41f](https://github.com/discordjs/discord.js/commit/077d41fbca258b5e4c96c7ca08edeb15dcd066f5)) +- **Shard:** Actually remove default execArgv ([938d87d](https://github.com/discordjs/discord.js/commit/938d87d5d630f533e17c6dfd96f1f6622ad87079)) +- **Client:** Login catch ([a667e44](https://github.com/discordjs/discord.js/commit/a667e44c4d972460162f4ae73d0d24539b5d4533)) +- **Client:** Login not properly rejecting on invalid token ([448f384](https://github.com/discordjs/discord.js/commit/448f38429d25da468e1586780376f83ed3999456)) +- **TextBasedChannel:** BulkDelete should not return non-Promise ([72346fb](https://github.com/discordjs/discord.js/commit/72346fb47eadb812416054e984ec4ab6663202ea)) +- **RequestHandler:** Provide proper route and method ([2694c0d](https://github.com/discordjs/discord.js/commit/2694c0d442a008a1e40c17df147a22bc9534049a)) +- **Shard:** Allow node to default to process.execArgv ([93f8c85](https://github.com/discordjs/discord.js/commit/93f8c8547b1033b10a0204a8e7343e64af34120a)) +- Instantiate constructors before using those properties ([92e2c3c](https://github.com/discordjs/discord.js/commit/92e2c3c7fd88d9e5b708920bc16e247395813021)) +- **Util:** Circular reference ([41a1dee](https://github.com/discordjs/discord.js/commit/41a1dee53360dbc3c358c7ada296c9311e324778)) +- Typo in src/errors/messages.js (#2631) ([f711aa3](https://github.com/discordjs/discord.js/commit/f711aa35ac8556f7725430c297bf6b9e5eec5acd)) +- **Shard:** Fix default args ([6b3bfdd](https://github.com/discordjs/discord.js/commit/6b3bfdd7dede049ba592e94ef1b1acc40a5e37fe)) +- Ratelimits (#2615) ([58e5017](https://github.com/discordjs/discord.js/commit/58e5017159ebe9b89327b1647cb433a412be2a46)) +- **BasePlayer:** Incorrectly mutating FFMPEG_ARGUMENTS when using seek (#2622) ([bf738b3](https://github.com/discordjs/discord.js/commit/bf738b34de1f02f83b4ddb3f60f3947840db91e7)) +- Do not cache webhook users (#2611) ([8a3ae87](https://github.com/discordjs/discord.js/commit/8a3ae875bb880dc9f0c1636adff2b477c0353fa4)) +- **ShardClientUtil:** Send method erroneously rejecting (#2604) ([c5fea45](https://github.com/discordjs/discord.js/commit/c5fea45f3090fd9ad565f581ee511fed5e9df63a)) +- **ShardClientUtil:** Send method's promise erroneously rejecting (#2604) ([493ba73](https://github.com/discordjs/discord.js/commit/493ba7303792848f4616146cdf6f918ec6423c57)) +- **Messages:** Undeleting themselves (#2570) ([037e8cf](https://github.com/discordjs/discord.js/commit/037e8cf969a2ceb0b10f362f4e12467e779aad03)) +- **GuildMember:** Mark joined as nullable ([ecf6e2b](https://github.com/discordjs/discord.js/commit/ecf6e2b62dab450b72a93f68650cecfd7d53bdfa)) +- **GuildMember:** Account for joinedTimestamp as well ([5071477](https://github.com/discordjs/discord.js/commit/5071477172053ef9d274aaab16cec0cfbd25b860)) +- **GuildMember:** Mark joined as nullable and fix fetching for these cases ([13bfceb](https://github.com/discordjs/discord.js/commit/13bfceb83cf771d1d56d28fd474d824f9a8884db)) +- **VoiceChannel:** Deletable erroneously returning true ([0387d34](https://github.com/discordjs/discord.js/commit/0387d34ab4900a0d2b936422f1b5609129d5528e)) +- **VoiceChannel:** Deletable erroneously returning true ([0be0d25](https://github.com/discordjs/discord.js/commit/0be0d2542df722bd8b155568caed5345c6135e3a)) +- **GuildMember:** Invalid Date ([46b19bb](https://github.com/discordjs/discord.js/commit/46b19bbbdbd17259108220a38b9e2fc530cef501)) +- **Guild:** Equals method modifying features array of guild (#2544) ([d02c303](https://github.com/discordjs/discord.js/commit/d02c303afd84b3c05970379242db6b237b8c3305)) +- **RequestHandler:** Only retry once on 5xx (#2471) ([14aab1b](https://github.com/discordjs/discord.js/commit/14aab1be3836eaa873f91c4fbe1456786add6e04)) +- **ClientUser:** Correctly resolve nicks to an object in createGroupDM ([f23b617](https://github.com/discordjs/discord.js/commit/f23b61794c8bce64bfc63fb2bcd82849c5416bbe)) +- **docs:** Remove duplicated Collection#findAll docstring ([f921261](https://github.com/discordjs/discord.js/commit/f921261f3f6ed680b39874f0ded72ddb402aa6bf)) +- Burst request mode hanging permanently ([3790619](https://github.com/discordjs/discord.js/commit/379061987c786a0870c21bb858612e40a37215ed)) +- **Guild:** MemberCount not decrementing when an uncached member leaves ([15a8e17](https://github.com/discordjs/discord.js/commit/15a8e177104cda455421a12c0a1c7722687ca891)) +- **ClientDataResolver:** Always resolve with a buffer when fetching a file ([ae28f52](https://github.com/discordjs/discord.js/commit/ae28f52e0d6584a292a3a8fa1918bfa7af109411)) +- **Role:** Allow role color to be removed ([2f2e281](https://github.com/discordjs/discord.js/commit/2f2e28183bfe04a0db9f6b78deeee81728f3207f)) +- **Collector:** Increase and decrease max listeners dynamically ([60288d0](https://github.com/discordjs/discord.js/commit/60288d070438dc8958cf502f1bf91025d9ef1519)) +- **GuildEmoji:** Verify MANAGE_EMOJIS permission from Guild#me ([6cde6de](https://github.com/discordjs/discord.js/commit/6cde6deceee975d76ea3abf40e87bd6ab04655f7)) +- Prevent max listener problems with collectors (#2521) ([32369f3](https://github.com/discordjs/discord.js/commit/32369f3bdd6ad765a571ec7595b1a53096419b11)) +- **RESTMethods:** Remove listener from correct event (#2534) ([a89de09](https://github.com/discordjs/discord.js/commit/a89de09855efd3ce5ded3a8a69a809734020c0b6)) +- Webhook#edit attempting to use client.channels always ([f293ddd](https://github.com/discordjs/discord.js/commit/f293dddc29a0c3939f319b52c6553edb83fa88ad)) +- **ClientUser:** SetActivity should resolve with a Presence ([a85d801](https://github.com/discordjs/discord.js/commit/a85d801a1237519cdc595fda0df06fd16e437550)) +- GuildMember#toJSON not having roles (#2520) ([5acf406](https://github.com/discordjs/discord.js/commit/5acf4061e8292ce77073ad74fc2b8718e88b2b8e)) +- Added everyone role to GuildMemberRoleStore#_filtered (#2514) ([934e90b](https://github.com/discordjs/discord.js/commit/934e90b921cba8b1498609f90c63da3ef81959aa)) +- **OpusEngineLinst:** Throw a descriptive error when not funding an opus engine ([33a4232](https://github.com/discordjs/discord.js/commit/33a4232652a476c590dd522aeaf841c357d7705e)) +- **Util:** Reject with a meaningful error instead of throwing one ([44fefdf](https://github.com/discordjs/discord.js/commit/44fefdfa49eda743fb24169bf29859ad18943165)) +- GuildEmoji#clone ([64caa33](https://github.com/discordjs/discord.js/commit/64caa33594212206b6f146c9ecc92f1f4cb5d138)) +- GuildMemberRoleStore#remove ([30d43ef](https://github.com/discordjs/discord.js/commit/30d43efa544c3a212317fd06cdd3cf6e2a94dad1)) +- TypeError in mixin function (#2506) ([95b5317](https://github.com/discordjs/discord.js/commit/95b531742a8ed3215dabc5e5e1277e2d0ac3de88)) +- **MessageEmbed:** Correct docs, default to array, resolve MessageAttachments (#2492) ([e12ab74](https://github.com/discordjs/discord.js/commit/e12ab7428f49308f1a6a617c8afd7185939b923d)) +- Use Object.keys instead of Object.values for node 6 (#2487) ([feb0991](https://github.com/discordjs/discord.js/commit/feb0991c46d589664bfe8ade9c4f4f8515a93e21)) +- **RestMethods:** Typo timeout -> timed ([ff671b2](https://github.com/discordjs/discord.js/commit/ff671b2f3cef70de3b3826c99623432765e7881c)) +- **MessageEmbed:** Avoid throwing error when accessing colorless hexColor ([b60ee25](https://github.com/discordjs/discord.js/commit/b60ee25038907eb47b84729cc175e6ce7b505dc4)) +- **Message:** Do not update editedTimestamp when there is none in the payload ([3ba26ad](https://github.com/discordjs/discord.js/commit/3ba26ad972a315b9c4d6bfdd3a5c3607fb5528c0)) +- **RESTMethods:** Verify correct member in add and remove role listeners ([de78a8d](https://github.com/discordjs/discord.js/commit/de78a8d0b4e7601a37d9a739fb2e0ad407648047)) +- **MessageDeleteBulkAction:** Remove bulkDeleted messages from cache ([7c37a0d](https://github.com/discordjs/discord.js/commit/7c37a0d386c38bc07d9b0c23b69c287e6f1550c1)) +- Client#generateInvite resolving permissions incorrectly ([c387e96](https://github.com/discordjs/discord.js/commit/c387e96078d990f4ae06b62206476af221e967e0)) +- Client#generateInvite resolving permissions incorrectly ([8d065fa](https://github.com/discordjs/discord.js/commit/8d065fa043c3e855c3f6a296dc76d7da0846db18)) +- Role#setPermissions resolving & docs ([7c0b617](https://github.com/discordjs/discord.js/commit/7c0b6173dd6fd4bd98fe4986b4a4ef31d99b38bb)) +- GuildChannel#setTopic not nullable ([92b4216](https://github.com/discordjs/discord.js/commit/92b421607e409711ce05260acd54078a59ea368a)) +- **ClientManager:** Patch ClientUser's presence with ClientOption's one (#2458) ([61ad947](https://github.com/discordjs/discord.js/commit/61ad9475de1c47a9298d415b030aa44803d5a197)) +- Webpack building and upgrading to webpack 4.5 ([f247484](https://github.com/discordjs/discord.js/commit/f2474845ba804c19313669e5f9405a7298352f7d)) +- **StreamDispatcher:** Only update speaking for non broadcasts (#2437) ([e845758](https://github.com/discordjs/discord.js/commit/e84575803702576669eb02c647474430ac0295b8)) +- **Guild:** Remove member's voice state on guildMemberRemove ([b955a51](https://github.com/discordjs/discord.js/commit/b955a514f6269c6300bbd633481824e9536bfe7b)) +- **Role:** Allow edit method to null the color (#2447) ([f985b6b](https://github.com/discordjs/discord.js/commit/f985b6bef361e7ddde99396d539cee4d3a6ca5aa)) +- **GuildChannel:** Always return a boolean from the manageable getter ([e431ccd](https://github.com/discordjs/discord.js/commit/e431ccdad2d539fe6f6e35a836a2c83cc6308cdf)) +- **GuildEmojiRoleStore:** Do not prematurely patch roles ([d041cb2](https://github.com/discordjs/discord.js/commit/d041cb2460a294b026e73750647647168ce7359a)) +- **MessageReaction:** Do not increment count twice for own user ([513dbf2](https://github.com/discordjs/discord.js/commit/513dbf2f689c7a1e4314c2141ae6dd4e7ebaaeea)) +- **GuildemojiStore:** Allow resolving of external ReactionEmoji ([0f7ce3f](https://github.com/discordjs/discord.js/commit/0f7ce3f720c201a95320dec1a3e804a08e6699b0)) +- Convert lastMessage to getters (#2384) ([630009f](https://github.com/discordjs/discord.js/commit/630009f3cf6185f9b94ec146dd1a2f0bdf7f9acc)) +- **DataResolver:** Always resolve with buffer when resolving urls ([8541348](https://github.com/discordjs/discord.js/commit/85413481edb0d9b5e6bc8d629f2368dfab6b04a7)) +- **GuildMemberRoleStore:** Make remove role remove roles again ([3e6c310](https://github.com/discordjs/discord.js/commit/3e6c3107c2010fa63abef77d8e1e2d7fba796751)) +- **GuildMemberRoleStore:** Only update roles after successful request ([3f6a0e4](https://github.com/discordjs/discord.js/commit/3f6a0e4de1ff53f2644c70aeb9e96736328663bf)) + +## Documentation + +- Small changes regarding permissions/overwrites (#2718) ([bafbee9](https://github.com/discordjs/discord.js/commit/bafbee9677192ae283aa19344a36a520fde19d96)) +- Change for GuildChannel#replacePermissionOverwrites (#2714) ([af6d649](https://github.com/discordjs/discord.js/commit/af6d6495104fbf0792d3b81b4f2153eecfa5852a)) +- Implement #2707 on master ([5980d04](https://github.com/discordjs/discord.js/commit/5980d04f2b5a70b9712aac763f8209ade202e883)) +- **RichEmbed:** Timestamp is actually a Date ([c7f379f](https://github.com/discordjs/discord.js/commit/c7f379f51d7363f7e566a8f361d78db2b66b4440)) +- **ShardingManager:** RespawnAll actually resolves with a collection of shards keyed by numbers ([4a48a7d](https://github.com/discordjs/discord.js/commit/4a48a7d621b1fbebe0c2a21ce190a04587098c27)) +- Added sizes 16, 32, 64 (#2666) ([c46cbbf](https://github.com/discordjs/discord.js/commit/c46cbbfd8464714dbea0ed4364821ac7efbbccfe)) +- **Client:** Clarify messageReactionRemove event's user description (#2657) ([717e7f0](https://github.com/discordjs/discord.js/commit/717e7f094a0b30a88ec48b073373223861e87b12)) +- **Client:** Clarify messageReactionRemove event's user description (#2657) ([a97b504](https://github.com/discordjs/discord.js/commit/a97b5040e646c6057650565fcd7a3914690f34fd)) +- Improvements in various places ([3d82ca9](https://github.com/discordjs/discord.js/commit/3d82ca901b44ced9439f2d0fef633776b7c6f629)) +- **Guild:** MemberCount is not as of ready (#2621) ([de408d7](https://github.com/discordjs/discord.js/commit/de408d735b7f6aa56052e903b95b64a06350a3bd)) +- Only cached messages emit reaction events (#2607) ([7ce1d16](https://github.com/discordjs/discord.js/commit/7ce1d1642c8911d3259bf09e3a0105b0783da481)) +- **GuildMember:** JoinedAt is nullable ([bd3d8d4](https://github.com/discordjs/discord.js/commit/bd3d8d48c0c1d132383e2fb3768b6251a61c68e7)) +- Add video to MessageAttachment properties (#2608) ([791f58e](https://github.com/discordjs/discord.js/commit/791f58e1308a12e5e4c8e2180fe28bd104602876)) +- Document lastMessageID for TextChannel and (Group)DMChannel (#2602) ([e7eab42](https://github.com/discordjs/discord.js/commit/e7eab427e59b76a3dc1474acac8ac33376ca06f8)) +- Document lastMessageID for TextChannel and (Group)DMChannel (#2602) ([507cce3](https://github.com/discordjs/discord.js/commit/507cce3ff49842c04047135df70bc80825c903a2)) +- Last english fix for now ([ba9a93b](https://github.com/discordjs/discord.js/commit/ba9a93b0bf4c3611cfc069de29800626e3f682aa)) +- Fix english because english is difficult ([eb4607c](https://github.com/discordjs/discord.js/commit/eb4607c8adee0a2c83899c44b7541d738dacef74)) +- Wording improvements ([5eff360](https://github.com/discordjs/discord.js/commit/5eff360a4daadff13345553fcd91044f85a8cff9)) +- Add examples & improve notices ([dfbd4bd](https://github.com/discordjs/discord.js/commit/dfbd4bdde10981de671c0a8564d0d428de867dd4)) +- Add examples & improve notices ([c699888](https://github.com/discordjs/discord.js/commit/c699888780251ad485c18a9226f2dfa85c03f52e)) +- **Guild:** Handle error in example of fetchInvites correctly (#2568) ([13880fe](https://github.com/discordjs/discord.js/commit/13880fe7de8fcb19026d20fcd9d149f04bd7ef7b)) +- **Guild:** Handle error in example of fetchInvites correctly (#2568) ([27fcb64](https://github.com/discordjs/discord.js/commit/27fcb64187928b46422376458cbd1dc59b9813c6)) +- **Collection:** Make findKey method show up in docs ([56a9d1b](https://github.com/discordjs/discord.js/commit/56a9d1ba3c09882c8efdbf1d08ae2b5249c03476)) +- Using deprecated version of find ([6070b22](https://github.com/discordjs/discord.js/commit/6070b22382de128a68b89188af4b274e30188541)) +- Permissions ([b2d1cb6](https://github.com/discordjs/discord.js/commit/b2d1cb6a3d7f44fcfa104cc69644c291a5fab672)) +- RateLimit event ([6f02be2](https://github.com/discordjs/discord.js/commit/6f02be2b2e0d23a7de9dcae17887cf39a7bb38dc)) +- **Role:** Change 'the this' to this (typo) (#2377) ([e5e59cc](https://github.com/discordjs/discord.js/commit/e5e59cce32e0a660a0884a7e72866cb8e99f9571)) +- **ClientUser:** Correct warning for createGuild method ([9264511](https://github.com/discordjs/discord.js/commit/926451109236cf0f0e6742d5ba3d98055f87aca3)) +- **GroupDMChannel:** Fix top 'an user' -> 'a user' ([54fa5f6](https://github.com/discordjs/discord.js/commit/54fa5f644fbbcaa0c1895cdc70d278e918484400)) +- **Collection:** Fix spelling of 'behavior' (#2529) ([b757f9e](https://github.com/discordjs/discord.js/commit/b757f9ef2db765db98703e4e107a70d778d5bd1d)) +- **Collection:** Fix spelling of 'behavior' (#2529) ([17d2c2e](https://github.com/discordjs/discord.js/commit/17d2c2efb88ffe576965a8c768dcc50bb9c5c877)) +- Consistency ([745669a](https://github.com/discordjs/discord.js/commit/745669a7c9ade99d04803770ba3a222f74074f6d)) +- (backport) Bring the main doc pages up to date, and add more examples (#2094) ([d7e7803](https://github.com/discordjs/discord.js/commit/d7e7803178eb4be7507df694e168a582b87d1218)) +- Inconsistencies ([b8a9a76](https://github.com/discordjs/discord.js/commit/b8a9a76cf6d9a1ac59b95913ed9bc7dc7d0f61da)) +- Inconsistencies ([ec9211c](https://github.com/discordjs/discord.js/commit/ec9211c3ced30efa329f5ead370a91fbf9e1abd2)) +- **GroupDMChannel:** Fix grammar `an user` -> `a user` (#2482) ([2dd7fd2](https://github.com/discordjs/discord.js/commit/2dd7fd2739fb5c68832b7eafeab5a9daa2f5b331)) +- Fix a number of spelling mistakes (#2469) ([8551b89](https://github.com/discordjs/discord.js/commit/8551b8936ce84a5b8c487d3ec9d55f38a5cd4c50)) +- **GuildStore:** Correct warning for create method (#2453) ([2bf68dc](https://github.com/discordjs/discord.js/commit/2bf68dcdfb5d28b6c12b2267307ec6d94a54640d)) +- Fix missing parameter type/description from #2193 (#2396) ([acd1740](https://github.com/discordjs/discord.js/commit/acd1740f0b44064a0df0e4eecb5340af35869f72)) + +## Features + +- Add new Permission PRIORITY_SPEAKER (#2698) ([b38f537](https://github.com/discordjs/discord.js/commit/b38f537da89e02d7cce0af508cd07d284e2fa8ec)) +- **Message:** Add url getter (#2594) ([ba32eec](https://github.com/discordjs/discord.js/commit/ba32eec7e8903d6cd6d589c9fa3feda506a33537)) +- Add support for Guild#setDefaultMessageNotifications (#2624) ([95b2dd3](https://github.com/discordjs/discord.js/commit/95b2dd3fe63ec9b6c7cec4f63f8276f4d907f228)) +- **ShardingManager:** Add execArgv option (#2585) ([bfbb723](https://github.com/discordjs/discord.js/commit/bfbb723f4293c883172d977e4451104b8cfe42b7)) +- **Guild:** Add support to edit `defaultMessageNotifications` level (#2592) ([270a278](https://github.com/discordjs/discord.js/commit/270a278a6e93c65eeb4e861b230f61f5c3e1da5e)) +- **User:** Add locale property (#2571) ([bce9a8a](https://github.com/discordjs/discord.js/commit/bce9a8af1b90dcfcf607e87e61bedfdf7eae3001)) +- Add "deleted" property to multiple structures. (#2556) ([f0c4d0e](https://github.com/discordjs/discord.js/commit/f0c4d0e834d66a4ad1c3cd766addfd8726ef2070)) +- Shard#kill method (#2454) ([fc81924](https://github.com/discordjs/discord.js/commit/fc8192472455da917133c80dc0eea7666c69c195)) +- **Collection:** Backport partition method ([f456f4c](https://github.com/discordjs/discord.js/commit/f456f4c3c0e101c13c507534117d600acda60c3d)) +- **Collection:** Add tap method (#2507) ([de7d90a](https://github.com/discordjs/discord.js/commit/de7d90ada337a9a2a090471fda5ea19cdd2d6862)) +- **Collection:** Add sweep method (#2528) ([2b6592e](https://github.com/discordjs/discord.js/commit/2b6592ed54f34d1d7a0a5c5a759fb5be898c7efe)) +- **GuildMember:** Add manageable getter ([9bb8831](https://github.com/discordjs/discord.js/commit/9bb883161900223473bb7a669b7f54cae2532a21)) +- **GuildChannel:** Add fetchInvites method ([9904167](https://github.com/discordjs/discord.js/commit/99041671f0d9bbf8756b251e1bbb61aa03628a60)) +- **Emoji:** Add fetchAuthor method ([dd7eedb](https://github.com/discordjs/discord.js/commit/dd7eedbd48e2925866965826a48dc7f1b01f76ac)) +- **Game:** Add toString method ([c0ca73a](https://github.com/discordjs/discord.js/commit/c0ca73a40c7d2074466d1ae054c05495e12bf089)) +- **GuildChannel:** Add setNSFW method ([54913d9](https://github.com/discordjs/discord.js/commit/54913d9edb6f8334d929d21c05bcd31d94ee5650)) +- **Guild:** Add verified getter (#2027) ([9169958](https://github.com/discordjs/discord.js/commit/9169958264bb6a450a1c1687cf9f533d048f7f8d)) +- **ClientDataResolver:** Add 2 basic role colors ([96b115e](https://github.com/discordjs/discord.js/commit/96b115ef7b505a677df96665560e10c7b26bd20d)) +- **Permissions:** Add valueOf method (#2363) ([2d83126](https://github.com/discordjs/discord.js/commit/2d831269abc342146381479a09685454aadba696)) +- **Emoji:** Add deletable getter ([ed8ab91](https://github.com/discordjs/discord.js/commit/ed8ab9178271346fd76a6390a996578725f9bf9c)) +- **GuildEmoji:** Add deletable getter (#2535) ([fca6d3b](https://github.com/discordjs/discord.js/commit/fca6d3be568fa57fb75bb3483ac6d637d5a4e190)) +- **ClientDataResolver:** Account for discord.gg/invite/ invites ([21326f6](https://github.com/discordjs/discord.js/commit/21326f67a0205bdae067526fd5ffeee9a2db598e)) +- Add Collection#sweep() (#2528) ([7a3a4d1](https://github.com/discordjs/discord.js/commit/7a3a4d1388c5f97d73a06021c1bd9167ea905656)) +- Add Collection#tap (#2507) ([9f91819](https://github.com/discordjs/discord.js/commit/9f918199d2146ef06fb4d2fffc46c7975db8b441)) +- **DiscordAPIError:** Backport method property (#2536) ([8700e96](https://github.com/discordjs/discord.js/commit/8700e965c5dec8ba8f2ddda6db5de4fe7ced1337)) +- **DataResolver:** Account for discord.gg/invite/ invites ([ddab809](https://github.com/discordjs/discord.js/commit/ddab8096cffa8719694896ee3fba69e5f1b71f7b)) +- **DiscordAPIError:** Add method property (#2530) ([62605c4](https://github.com/discordjs/discord.js/commit/62605c4470bc78b4f302b7d40f2492f066b3e5b8)) +- Allow sweeping of inactive request buckets ([b5f3772](https://github.com/discordjs/discord.js/commit/b5f37728a7f5cd07970ee5cbda22ce5c99928265)) +- **SnowflakeUtil:** Allow snowflakes to be generated dynamically ([d9a091f](https://github.com/discordjs/discord.js/commit/d9a091f674eb892c4c2b4112e275524e49a1ee8a)) +- **GuildChannel:** Add manageable getter (#2439) ([49ad8cc](https://github.com/discordjs/discord.js/commit/49ad8cc2ccac996e634f80ccf5b67c1fbd521cb2)) +- **Guild:** Add mfaLevel property (#2451) ([7b9e84d](https://github.com/discordjs/discord.js/commit/7b9e84dff59c63a3b5cb69c2775bbb7d509a44c5)) +- **GuildChannelStore:** Add topic to create options (#2488) ([c9c2d66](https://github.com/discordjs/discord.js/commit/c9c2d6697119fcbe9b0f4e8285852f62a4dbccda)) +- **SnowflakeUtil:** Allow snowflakes to be generated dynamically (#2459) ([f6216f3](https://github.com/discordjs/discord.js/commit/f6216f3905adc2d01532c0fd6ad1e0fadec6d842)) +- **Guild:** Add mfaLevel property (#2451) ([b3ff7c7](https://github.com/discordjs/discord.js/commit/b3ff7c728ee005f7c07f6f521f90dd0fcc5ae3cb)) +- **GuildChannel:** Add manageable getter (#2439) ([ef4bd92](https://github.com/discordjs/discord.js/commit/ef4bd92c8a56a50df3d6caea92b34d3c9ad90f0f)) + +## Refactor + +- Move Message#cleanContent function to Util (#2703) ([f3d7f7c](https://github.com/discordjs/discord.js/commit/f3d7f7c3bd662d84cd9fb1780ebebeafa91a2b64)) +- Remove user bot methods (#2559) ([5afd77a](https://github.com/discordjs/discord.js/commit/5afd77ab730f413d0090be6ce0b0a7083ef15f7c)) +- **Webhook:** Make token not enumerable (#2566) ([e0378cf](https://github.com/discordjs/discord.js/commit/e0378cf3505f3bc878ba824882d63ea6fa2261d7)) +- **MessageMentions:** Make client, guild, and _content non enumerable ([e8ab049](https://github.com/discordjs/discord.js/commit/e8ab049a677335453978afb0261a46da4018dd23)) +- RESTManager handlers to use collection (#2539) ([99bd355](https://github.com/discordjs/discord.js/commit/99bd35552237f92a29e2eb765144c733e2ae3b73)) +- Remove unnecessary Collection methods and add Collection#partition (#2511) ([a732402](https://github.com/discordjs/discord.js/commit/a732402c95438f5ddda20958e5c1b2360500069a)) +- **VolumeInterface:** Remove usage of deprecated new Buffer (#2531) ([bd9c9ce](https://github.com/discordjs/discord.js/commit/bd9c9ce4e0a6a0d4717834f4d095614c61c99e19)) +- Improve sweep performance ([bd83bb9](https://github.com/discordjs/discord.js/commit/bd83bb9fd66ffac83cbb631fc552d30ad4058529)) +- Tidy up _inactive check ([27a0f48](https://github.com/discordjs/discord.js/commit/27a0f48441aae2fe190efd33bec086b1c6480288)) +- Role stores (#2478) ([8b83553](https://github.com/discordjs/discord.js/commit/8b83553462c19c8b405c474341cdd5d075889727)) + +# [11.3.2](https://github.com/discordjs/discord.js/compare/11.3.1...11.3.2) - (2018-03-04) + +## Bug Fixes + +- **ws:** Set correct ratelimit remaining after reset or destroy (#1806) ([c8f78b2](https://github.com/discordjs/discord.js/commit/c8f78b2bf087526ee927e0f00294cd4d8969b7a5)) + +## Documentation + +- Change 'the this' to this (typo) (#2377) ([8b67991](https://github.com/discordjs/discord.js/commit/8b679913a455ab059b30ded2cd364f874bab7d38)) +- TextChannel Webhooks fix&improvement ([0a951cf](https://github.com/discordjs/discord.js/commit/0a951cfc0fe345999209285033dca3a1d33a890b)) + +# [11.3.1](https://github.com/discordjs/discord.js/compare/11.3.0...11.3.1) - (2018-03-03) + +## Bug Fixes + +- RichEmbed timestamp cloning ([8f9e911](https://github.com/discordjs/discord.js/commit/8f9e911b5f97eeff5b3a17c2242f69daf9f9ce4e)) +- BulkDelete discarding non-cached messages ([363ead9](https://github.com/discordjs/discord.js/commit/363ead922a5006f3b199af932b8b29ae8913b812)) +- GuildAuditLogs using Guild#fetchInvites ([acdf43a](https://github.com/discordjs/discord.js/commit/acdf43a8721a09668f459a098f8b77b7949b0aac)) +- Export CategoryChannel ([f64e924](https://github.com/discordjs/discord.js/commit/f64e924f0d880a62cabab22578793d2530860b44)) +- **StreamDispatcher:** Remove gratuitous parentheses ([f2c5714](https://github.com/discordjs/discord.js/commit/f2c57147512bb75f6ffc5eaaa791a00f82e951f2)) +- **Activity:** Ensure that timestamps are actually numbers ([464fc14](https://github.com/discordjs/discord.js/commit/464fc14edda6c4202ba922807a25013b77d2d703)) +- If present, wait for libsodium-wrappers' ready to support v0.7.3 ([c6f92c1](https://github.com/discordjs/discord.js/commit/c6f92c1bc5c6e8cc28a3c1153ad1cc893a5b9616)) +- **StreamDispatcher:** Emit volumeChange event when the volume changes (#2349) ([c25ea45](https://github.com/discordjs/discord.js/commit/c25ea45866b52ba9c24426fb9ed52e0b4ad97073)) +- **ReadyHandler:** Don't create new guild instances for already existing guilds ([dc92582](https://github.com/discordjs/discord.js/commit/dc92582eb45a25adc675af78dba68fa483f2a6aa)) +- **StreamDispatcher:** Do nothing when resume is called when not paused ([05c5bdc](https://github.com/discordjs/discord.js/commit/05c5bdc4762b1c763a7ba75b6793d6b1453b9b57)) +- Build with node 8 ([2254a3e](https://github.com/discordjs/discord.js/commit/2254a3ee115aa87572ac134f2cba298f95325f9c)) +- Add node 8 to build ([da14e33](https://github.com/discordjs/discord.js/commit/da14e33ff7ecb03ce7ae0ddf247714fc189d6146)) +- Webpack minified and bump deps ([a7b46be](https://github.com/discordjs/discord.js/commit/a7b46be923ea2176142046304c48b285c05b0dbc)) +- Properly fix minified builds ([5583e70](https://github.com/discordjs/discord.js/commit/5583e70eb62846da56360cc81d6aba1b03e59169)) +- Dont require snekfetch supplemental because they are not a thing anymore ([8e60743](https://github.com/discordjs/discord.js/commit/8e60743c0b60ccddc0cab735b8f8648930bcd370)) +- Npm scripts ([332558a](https://github.com/discordjs/discord.js/commit/332558a3d824a17217aaee7c2762cbb74e5cc9d6)) +- **VoiceChannel:** SetUserLimit defaulting to wrong value ([40a2f09](https://github.com/discordjs/discord.js/commit/40a2f093aa34db8938519333811030a1471d4f29)) +- **StreamDispatcher:** Properly check that timestamp fits in 2^32-1 (#2325) ([8ee2788](https://github.com/discordjs/discord.js/commit/8ee2788baf11b18fa64b148263f557c24e9a0b26)) +- **AudioPlayer:** Add opus to destructured key of stream options ([96904b1](https://github.com/discordjs/discord.js/commit/96904b1826dfb38d4f8ba0cbf773e9d2cfd7b7cc)) +- **ClientApplication:** CreateAsset incorrectly resolving image and posting ([234648b](https://github.com/discordjs/discord.js/commit/234648bd2a438038bc52cc2f58ff70bdb1b02288)) +- Add clone methods to GuildMember and GuildMemberRoleStore ([32e2dd2](https://github.com/discordjs/discord.js/commit/32e2dd212e3137d16457216e1330242c21487774)) +- **MessageEmbed:** Remove length checks (#2304) ([9810bdb](https://github.com/discordjs/discord.js/commit/9810bdbc5ffcddfabd390c5ff72254465a78aa59)) +- **resolveColor:** Not interpreting DEFAULT correctly ([d46eec4](https://github.com/discordjs/discord.js/commit/d46eec4da40c01d134d863b9421fbc12d2ec6d20)) +- **resolveColor:** Not interpreting DEFAULT correctly ([52c402f](https://github.com/discordjs/discord.js/commit/52c402faea7f3256e1bb466d2b5727d68beff362)) +- Nullable activity ([bd154bd](https://github.com/discordjs/discord.js/commit/bd154bdd9ec03e21fd439e86081b065fa2f6dcbf)) +- **Webhook#send:** Incorrect docs + return ([e978253](https://github.com/discordjs/discord.js/commit/e978253896676ad52db2461ddbb8f25b34453582)) +- **RoleStore:** Create method is supposed to take an options object ([048e147](https://github.com/discordjs/discord.js/commit/048e1474975363b39a586a2d902767b3f3b99318)) +- Require discordjserror to throw meaningful errors where necessary ([07c48a6](https://github.com/discordjs/discord.js/commit/07c48a68450b79e7319d1034546846441565624b)) +- **startTyping:** Return, to not overwrite already existing entries ([8df1ac9](https://github.com/discordjs/discord.js/commit/8df1ac9920a20d74c7d5cd15ee0124f6e7236abc)) +- **Guild:** MemberCount not decrementing when an uncached member leaves ([93e083d](https://github.com/discordjs/discord.js/commit/93e083da4fd8a936d534abb6d16e42f37837da4d)) +- **client#voiceConnections:** Incorrect docs description (#2280) ([00e2f39](https://github.com/discordjs/discord.js/commit/00e2f39ea19dc136f4e0b14eb2133f631415308d)) +- **CategoryChannel:** Set the type to 'category' and document its type ([b5ff309](https://github.com/discordjs/discord.js/commit/b5ff309bf985a43da4229421ac53b68f216edede)) +- **GuildMember:** Make edit method only modify a copy of the voice state ([fbd25f8](https://github.com/discordjs/discord.js/commit/fbd25f867742bac5511e47bbf69274bdc82ccb23)) +- **WebSocketConnection:** Make errors in event handlers throw again ([a22b856](https://github.com/discordjs/discord.js/commit/a22b856494a8c599c9d1acea4edb8a210c1a12d1)) +- **guild#createRole:** Incorrect guild reference ([932980e](https://github.com/discordjs/discord.js/commit/932980e91f1610ae29e1a5d2b10d6b4cd7253f7f)) +- Missing height & width in embeds (#2249) ([351f5f7](https://github.com/discordjs/discord.js/commit/351f5f72091686ee94c9e1bbcb1e66fb65595b72)) + +## Documentation + +- Document the messages property for all TextBasedChannels (#2373) ([069dccf](https://github.com/discordjs/discord.js/commit/069dccfa3b34e1778c9f0bde38bf272e5d966efe)) +- Examples & improvements ([24571e4](https://github.com/discordjs/discord.js/commit/24571e465b1eb066a877f6fadc7f11353884deb0)) +- Incorrect returns ([96e88f3](https://github.com/discordjs/discord.js/commit/96e88f3cefa7b7c37426721c8bc3ff760b4e1d51)) +- Improvements & examples ([fcdffcf](https://github.com/discordjs/discord.js/commit/fcdffcf623d2e1a24fa02d232e60623a151c7c08)) +- Message#type ([38f5288](https://github.com/discordjs/discord.js/commit/38f5288be81e982aa8bb1e2603379bf73f5143a3)) +- **WIP:** Bring the main doc pages up to date, and add more examples (#2094) ([9f89252](https://github.com/discordjs/discord.js/commit/9f8925226d521bcc36778227fde749eaa2d86ff9)) +- Remove trailing commas ([b79722a](https://github.com/discordjs/discord.js/commit/b79722a77b85a39b9a8ec5ae95a5d81360831624)) +- Trailing commas ([2b24b10](https://github.com/discordjs/discord.js/commit/2b24b102462889fb59848ebabba9a8ceaa5715b5)) +- Improvements ([af35175](https://github.com/discordjs/discord.js/commit/af3517594f0f22efd6e7cc06da024efa935d9b19)) +- Add links for the guide (#2346) ([0ec53c9](https://github.com/discordjs/discord.js/commit/0ec53c9d6f07f321047617ff5352de2845d0f0dd)) +- Add links for the guide (#2346) ([dc6bce1](https://github.com/discordjs/discord.js/commit/dc6bce1f82f5e73d22496c2a99ece4dd70a8f5e0)) +- Add TypeDef for MessageActivity (#2321) ([4336317](https://github.com/discordjs/discord.js/commit/43363172c2b62c4df5098f09ed6316d4e11aaf04)) +- **ClientUser:** Mark email field as user account only property (#2306) ([31873eb](https://github.com/discordjs/discord.js/commit/31873eb3a5133a1ed161c110ccb0b99ca5cd6390)) +- **ClientUser:** Mark email field as user account only property (#2306) ([1f14758](https://github.com/discordjs/discord.js/commit/1f14758e0c29f2ed6dfd5d920b3efc512ae39cb1)) +- Doc changes ([2e0048a](https://github.com/discordjs/discord.js/commit/2e0048add1036c4648a99cd6a780280b6dd4ce9b)) +- Fix VoiceBroadcast documentation (#2277) ([8a2ace4](https://github.com/discordjs/discord.js/commit/8a2ace45d81dccd86afa99f607de1d346b5d6a62)) +- Fix streamdispatcher documentation (#2275) ([edc4e2b](https://github.com/discordjs/discord.js/commit/edc4e2b751753c46a32a11eff8c757ca02d9dde4)) +- Fix attachFiles() docs (#2267) ([19591b0](https://github.com/discordjs/discord.js/commit/19591b0bb190bb091dee3b3f5321f3c9e89f12aa)) +- Collection > RoleStore (#2251) ([a3be0f3](https://github.com/discordjs/discord.js/commit/a3be0f3726af76420e20f2406c15b1813039b8ea)) + +## Features + +- Allow multiple permission overwrites when editing channel (#2370) ([b637c9c](https://github.com/discordjs/discord.js/commit/b637c9c220d4ebad78501fc8ecd0ee4b2fcd8ca8)) +- **GuildChannel:** Add fetchInvites method (#2339) ([47bc0fc](https://github.com/discordjs/discord.js/commit/47bc0fc51e937f036a71d477f56fa884d44ee92d)) +- **ShardClientUtil#broadcastEval:** Allow promise resolve (#2328) ([66c0512](https://github.com/discordjs/discord.js/commit/66c0512de2a3bda5e3ae5f9443425a242987abd5)) +- **ClientOptions:** Add support for setting an initial presence (#2320) ([87e5a45](https://github.com/discordjs/discord.js/commit/87e5a4565937bf08c392401f1b75552aec49428d)) +- Add GuildEmoji#fetchAuthor (#2315) ([e0cbf0b](https://github.com/discordjs/discord.js/commit/e0cbf0bb607381633fe125c18b86722985ba31ea)) + +## Performance + +- **Collection:** Performance improvements (#2342) ([b7851ba](https://github.com/discordjs/discord.js/commit/b7851bad37f33376d354bcfc1de95842d1894d7e)) +- **Collection:** Performance improvements (#2342) ([a817295](https://github.com/discordjs/discord.js/commit/a8172951d3d12feb59b8f0c6d77d23837b8f57e3)) + +## Refactor + +- Move member role-related functions to a special store (#2242) ([00172e6](https://github.com/discordjs/discord.js/commit/00172e6c7dd293b7d04a531b946fde57f0c58d1e)) +- **GuildMember#manageable:** Refactored kickable and bannable (#2211) ([36555c1](https://github.com/discordjs/discord.js/commit/36555c1cea5d559eb5cfbaebec7866b21cd1a835)) +- Tidier overflow checking in StreamDispatcher ([83640a2](https://github.com/discordjs/discord.js/commit/83640a26404722f7c3882687ceb6dbadd5a40aa8)) + +# [11.3.0](https://github.com/discordjs/discord.js/compare/11.2.0...11.3.0) - (2018-01-13) + +## Bug Fixes + +- **Message#addReaction:** Incorrect regex (#2247) ([f62fa05](https://github.com/discordjs/discord.js/commit/f62fa053890105aa5c2024bb81812127c05ec90b)) +- Stream dispatcher throwing key error due to missing secretKey ([8cab673](https://github.com/discordjs/discord.js/commit/8cab673fea2751f20079e04f29c1e80b73781304)) +- **avatarURL:** Gifs not being animated (#2195) ([d94ead7](https://github.com/discordjs/discord.js/commit/d94ead70f82b65e5a12b685efe8acae82500f25e)) +- **voiceStateUpdate:** Incorrect members.size (#2231) ([8226752](https://github.com/discordjs/discord.js/commit/822675209820518ca534cbb30c4abde28171ab9a)) +- Allow the Util#parseEmoji regex to match emoji identifier (#2229) ([2318812](https://github.com/discordjs/discord.js/commit/2318812f7f2229e0934a28967b406c4ef7f58073)) +- **verson:** Update package.json (#2196) ([b6c89ef](https://github.com/discordjs/discord.js/commit/b6c89ef6388470f41e454cea517b756401d63092)) +- **Guild#createChannel:** Default type to 'text' (#2184) ([4063a3a](https://github.com/discordjs/discord.js/commit/4063a3a16b581f643d5601ffcd735d9140c7c940)) +- **bulkDelete:** Stop rejections when filterOld=true (#2178) ([6683c40](https://github.com/discordjs/discord.js/commit/6683c40a6fed0ab0dc1121cf7fe82766a8315607)) +- **Guild#createChannel:** Default to text (#2168) ([9f0417c](https://github.com/discordjs/discord.js/commit/9f0417c09d2422412e474b6b9075c94f76a46494)) +- **CreateMessage:** Reassigning wrong content (#2169) ([1598efa](https://github.com/discordjs/discord.js/commit/1598efa0b8a22d6ca50e10bd15c215fcef27fcb5)) +- **CreateMessage:** Fix attachment and array sending (#2158) ([443961c](https://github.com/discordjs/discord.js/commit/443961ce43bc37dbe8705e42a28afcfaf8e94a7d)) +- **UserGuildSettingsUpdate:** Not creating settings with new guilds (#2150) ([1c34819](https://github.com/discordjs/discord.js/commit/1c34819d47cc3797b7ba5c35f59d4ee0bfb2ff4e)) +- **VoiceChannel#edit:** Incorrect bitrate (#2144) ([d705a0c](https://github.com/discordjs/discord.js/commit/d705a0c7d07f672303cd1905c61b1df652bb4c2b)) +- **guild#createChannel:** New channel returning null (#2143) ([fb6d14d](https://github.com/discordjs/discord.js/commit/fb6d14d099b533ee2e40ecc85f6d7f99fce3ef92)) +- **GuildAuditLogs:** Backport (#2123) ([e40c3f8](https://github.com/discordjs/discord.js/commit/e40c3f8cd0bb1ac2057b13219dc0df4f3e9fe49e)) +- **DMChannel:** Messages not being cached (#2122) ([22da595](https://github.com/discordjs/discord.js/commit/22da595b500300d3cd5c4f6468af04346e255b16)) +- **GuildMember:** Permissions.missing is not a function (#2118) ([b274dba](https://github.com/discordjs/discord.js/commit/b274dba6ece16d5192197246db77207c62934ea3)) +- **Shard:** Extend EventEmitter to be able to emit events (#2112) ([6fa4fc5](https://github.com/discordjs/discord.js/commit/6fa4fc532cf9525838b55287a5565be4a4ec07d2)) +- **Split/Webhook:** Readd message chunk sending and fix webhook avatar/username (#2085) ([05a41b5](https://github.com/discordjs/discord.js/commit/05a41b5ca44cfa39db2413284a93bd34c402806d)) +- **Guild:** Correctly resolve user in Guild#addMember (#2090) ([21d09f3](https://github.com/discordjs/discord.js/commit/21d09f338e8dc2ad3cbc74d1e3fd56994b92de01)) +- **TextBasedChannel:** Return a promise in startTyping and clarify count parameter (#2047) ([94a4a06](https://github.com/discordjs/discord.js/commit/94a4a068b9400000a3b057a1ae781cb9eb585bc4)) +- **Presence:** Pass client and default to offline (#2071) ([a62d1e9](https://github.com/discordjs/discord.js/commit/a62d1e954d9e8be0a8acf3802dd4f87c367ac2a5)) +- **GuildMember#hasPermission:** Pass correct parameters to Permissions#has (#2070) ([cd3d334](https://github.com/discordjs/discord.js/commit/cd3d3344e8c34e0950584b20bbe984b411fc23c5)) +- **Client:** Login wasnt using env.token (#2060) ([0277d1d](https://github.com/discordjs/discord.js/commit/0277d1de7806947b963be86cd5a353700fcec9df)) +- **MessageBulkDeleteAction:** Remove deleted messages from cache (#2046) ([356778b](https://github.com/discordjs/discord.js/commit/356778b9d56bead4b6534f372c4c139b7e4c606a)) +- **GuildDelete:** Disconnect voice and cleanup GuildChannels (#2026) ([fa3eee8](https://github.com/discordjs/discord.js/commit/fa3eee8fd9ca08d7842970c41aec1a8ebcf22f35)) +- **GuildAuditLogs:** Incorrect webhook reference (#2004) ([8fbae13](https://github.com/discordjs/discord.js/commit/8fbae130408613df3c8c49a8d89b956b4ff9c1ea)) +- **setPosition:** RawPosition never getting updated when setPosition was called (#2006) ([f178f9b](https://github.com/discordjs/discord.js/commit/f178f9ba6cb308b53c5e6371c0126a0e7a6e1e22)) +- **Role:** SetPosition typo (#2003) ([b462a7b](https://github.com/discordjs/discord.js/commit/b462a7b94f46deff0fb6f77bfb345a7a5a746722)) +- SetPosition taking wrong IDs and edit with position 0 breaking (#1989) ([743668a](https://github.com/discordjs/discord.js/commit/743668a10d4cd141b2b819a1769a342523840ef3)) +- **createChannel:** Add support for more properties and fix overwrites optionals (#1983) ([cc8060c](https://github.com/discordjs/discord.js/commit/cc8060c1bd6f5d9a88cf33ffa0d0b90c0d5b87f2)) +- **MessageEmbed:** Don't send 'files' as part of the embed (#1982) ([1537dd7](https://github.com/discordjs/discord.js/commit/1537dd7be758dab0b7684f3dcd618b6ef05a72bd)) +- **ClientManager:** Reject login with proper error on timeout or on connection failure (#1947) ([3ace61a](https://github.com/discordjs/discord.js/commit/3ace61a1795639487508856c1238884a27c61105)) +- **Reactions:** Make MessageRection#id again null for default emojis (#1940) ([25ece18](https://github.com/discordjs/discord.js/commit/25ece1882b5a064013fad242fb2c84ac09252c70)) +- **EmojiStore:** Return super.create in the create method (#1932) ([cc0b65d](https://github.com/discordjs/discord.js/commit/cc0b65d70b0c9e575e71259b4560f0dfce4cf20b)) +- **DataStore:** Make resolveID work properly (#1927) ([fc1e78e](https://github.com/discordjs/discord.js/commit/fc1e78e545a3bb543edc797a8f52272725675bff)) +- **MessageEmbed:** Deep copy fields and fix files when passed into constructor (#1864) ([63f6247](https://github.com/discordjs/discord.js/commit/63f6247ce5daf9ae6c065c07ed65aacf8d867dd7)) +- **Guild:** Fix setChannelPositions method (#1900) ([41c4999](https://github.com/discordjs/discord.js/commit/41c4999c2bf3dfa4e36aa71ee0d9106e95d084ea)) +- **Errors:** Throw DiscordjsErrors where one would expect them (#1905) ([e34bd7c](https://github.com/discordjs/discord.js/commit/e34bd7c09c42697ff84a3d6396572a3a4ed92b83)) +- **WebhookClient:** Use applyToClass instead of multiple inheritance (#1896) ([694f78c](https://github.com/discordjs/discord.js/commit/694f78cd439f946df87e88c886ee9fd0a028f6eb)) +- Voice websocket sending ([2305311](https://github.com/discordjs/discord.js/commit/2305311ec1a9036307ebe38ef25be85cef901fd9)) +- Minified webpack builds ([9e66e80](https://github.com/discordjs/discord.js/commit/9e66e806cec88b5c8f5cb2c81ccef31deed86b9b)) +- **Client:** Apply shardId and shardCount to the correct options object (#1888) ([bb4fe25](https://github.com/discordjs/discord.js/commit/bb4fe256e0950591b521988183fa6d5f8314a8b4)) +- **MessageStore:** Fix fetchPinned method and add notice. (#1881) ([ea1949a](https://github.com/discordjs/discord.js/commit/ea1949a0e2faf7e09e7ad9239e421323919975b4)) + +## Documentation + +- Fix guildChannel#toString() example (#2203) ([e883afa](https://github.com/discordjs/discord.js/commit/e883afa0eec30b4cded3c65b6a7cfc8e379117db)) +- Improve examples (#2200) ([c798230](https://github.com/discordjs/discord.js/commit/c79823002b9c05ed89d88d3b9f1b5b5bf2d15298)) +- Improve examples (master branch) (#2209) ([45127bb](https://github.com/discordjs/discord.js/commit/45127bb408e668f6e1ca4b001b857f64314243c9)) +- **setParent:** Docs update and nullable channel param (#2160) ([4f8f208](https://github.com/discordjs/discord.js/commit/4f8f2087c16ec8b6d9b785edbaba1c073ad15fc3)) +- Remove leftover docstring from 11.2 (#2115) ([efd1c4c](https://github.com/discordjs/discord.js/commit/efd1c4c51625fd3c16ce3535f4bd340551dbd8ae)) +- Fixed some missing docstrings or incorrect return types (#2093) ([0cd4a92](https://github.com/discordjs/discord.js/commit/0cd4a92fb8d7e041bbf600c5b7fdb3af55460680)) +- Add Guild#features type (#2105) ([2d8e26c](https://github.com/discordjs/discord.js/commit/2d8e26c24c360148083cacb3468a58c99320198a)) +- Add/normalize .toString() docs on all classes (#2042) ([1a8e8c7](https://github.com/discordjs/discord.js/commit/1a8e8c7a67b59242537a6c97e383bc6aa4e8c8dd)) +- Change repo for erlpack (#1992) ([fc43736](https://github.com/discordjs/discord.js/commit/fc437364472c4ed8c30b723254696cd48119202f)) +- Small doc improvement for PermissionOverwrites (#1964) ([26c978c](https://github.com/discordjs/discord.js/commit/26c978c4654624af5090dc4637c8dc979fbb6c90)) +- Fix some small typos or "missing" docs (#1943) ([eb591da](https://github.com/discordjs/discord.js/commit/eb591dafbaf1f91a4df90c6001cb0ff343beda07)) +- Improve documentation (#1898) ([0607720](https://github.com/discordjs/discord.js/commit/0607720ec80eb7801daeae7e9ba59e85b8b8c20d)) +- Collection first, firstKey, last, lastKey ([a8df63a](https://github.com/discordjs/discord.js/commit/a8df63ad1a792814609e4ca2eedb7ea2e6f2ed54)) + +## Features + +- Backport animated emojis support (#2217) ([659e89e](https://github.com/discordjs/discord.js/commit/659e89e8cd350c0e3458383c14c6f22248e1d9ff)) +- Backport after and before parameter when fetching a reaction's users (#2218) ([db5bdcd](https://github.com/discordjs/discord.js/commit/db5bdcd85516484617f7d4eee53fdcb586abd897)) +- **ClientUser:** Deprecate ClientUser#setGame in favour of ClientUser#setActivity (#2127) ([cd06684](https://github.com/discordjs/discord.js/commit/cd066849ad14a61229a95ff7796886ee1560388e)) +- **CategoryChannel:** Backport (#2117) ([cce2480](https://github.com/discordjs/discord.js/commit/cce2480bb5d8fb6f19803bd32abccbf00427d2bf)) +- **Webhook:** Allow to edit the channel of webhooks (#2039) ([d8850db](https://github.com/discordjs/discord.js/commit/d8850dbdd821508d1dfec676ae9c5260aaa28a5f)) +- **MessageReaction:** Add after option when fetching users who reacted with an emoji (#1882) ([f40a5e9](https://github.com/discordjs/discord.js/commit/f40a5e9f8875299aa6ec25a0491e4dc92868f54d)) + +## Refactor + +- More oop with stores (#2216) ([9eac19d](https://github.com/discordjs/discord.js/commit/9eac19d9d8bfb81dc0079e3bff073a20b9c9768f)) +- **Actions:** Remove obsolete user and guild member get actions (#2061) ([cd08a3b](https://github.com/discordjs/discord.js/commit/cd08a3b5a4569e98aaa9c954d578ac9c12fba826)) +- Remove redundant Client#rest and obsolete RESTManager#destroy (#2022) ([68a3058](https://github.com/discordjs/discord.js/commit/68a30584db44580d1e00e6da57e24e0ae5bb1808)) +- Make use of destructuring for Constants (#1942) ([ec4c987](https://github.com/discordjs/discord.js/commit/ec4c98704fc706e416683d6bd950de6b7c0614da)) +- **Attachment:** Merge MessageAttachment with Attachment (#1894) ([d6b276b](https://github.com/discordjs/discord.js/commit/d6b276bc29ba1f9fe357287c7603899d022c0986)) + +# [11.2.0](https://github.com/discordjs/discord.js/compare/11.1.0...11.2.0) - (2017-09-03) + +## Bug Fixes + +- Made options.type optional in ClientUser#setActivity (#1875) ([39013b1](https://github.com/discordjs/discord.js/commit/39013b1242d9bc0a0f3a462a9dea7a832da64850)) +- **Guild:** Passing the constructor partial data from an invite no longer errors (#1868) ([1bdaa62](https://github.com/discordjs/discord.js/commit/1bdaa6248193915b4333ea4cc6ac2b901117f1f6)) + +## Documentation + +- **Collection:** Adjust exists documentation (#1876) ([efbde07](https://github.com/discordjs/discord.js/commit/efbde076506c74d5e2c7c15e2118e4b0cadd290b)) + +## Features + +- Add DiscordAPIError#path and fixed Burst request handler handling api errors (#1867) ([95e22c2](https://github.com/discordjs/discord.js/commit/95e22c2f12519fc6659c3f1664af11ff3175f7fe)) + +## Refactor + +- **DataStores:** Move instantiating of store related classes into their date stores (#1869) ([c4b5736](https://github.com/discordjs/discord.js/commit/c4b5736a16fb651ce90038cc6682d645f108f76f)) +- **Emoji:** Remove Guild#deleteEmoji in favour of Emoji#delete (#1877) ([c93c4ad](https://github.com/discordjs/discord.js/commit/c93c4ad21fc2272ab2269083dd94bbb6af4f7aa7)) + # [13.17.0](https://github.com/discordjs/discord.js/compare/13.16.0...13.17.0) - (2023-11-12) ## Bug Fixes diff --git a/package.json b/package.json index 05de3c1171a3..543455ea4d03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord.js", - "version": "13.17.0", + "version": "13.17.1", "description": "A powerful library for interacting with the Discord API", "scripts": { "test": "npm run lint && npm run docs:test && npm run lint:typings && npm run test:typescript",