github discordjs/discord.js 12.3.0

latest releases: @discordjs/core@1.1.1, @discordjs/rest@2.2.0, 14.14.1...
3 years ago

Bug Fixes

  • APIMessage: respect allowedMentions with split (#4588) (a663ea4)
  • APIMessage: add reply user to allowedMentions (#4591) (b6ddd4c)
  • APIMessage: only pass allowedMentions if content is defined (#4269) (15b5350)
  • BaseManager: properly type valueOf (#4594) (b4d6510)
  • Collector: support async (#4123) (124afeb)
  • DataResolver: resolveInviteCode to support new domain (#4281) (5955498)
  • Guild: name acronym (#4104) (97cbbb1)
  • GuildChannel: make lockPermissions use parent overwrites (#4627) (599cde3)
  • Integration: user might not be present (#4691) (baffbdb)
  • Message: include MessageEmbed type (#4675) (bbfc715)
  • Message: Message#createdTimestamp uses deconstructed message id to get timestamp (#4632) (2be68e4)
  • MessageEmbed: explicitly mark proxyIconURL as undefined (#4097) (605ee85)
  • MessageReactionAdd: prevent double messageReactionAdd triggering (#4682) (6caeaeb)
  • Partials: correctly set properties as nullable (#4636) (980243f)
  • Extendables: correctly import VoiceState (#4616) (c5b6c4d)
  • PacketHandler: guild members chunk packet handler should… (#4092) (5af1a55)
  • Typing: dmChannel bulkDelete (#4115) (819e04a)
  • User: jsdoc for User#flags (#4094) (6fbaf0a)
  • Util: support empty array for flatten (#4590) (317f240)
  • Channel: consider #nsfw false if not present in data (#4593) (fab3153)
  • Guild: fix vanityURLUses desc, internally use fetchVanityData (#4335) (1c275af)
  • PresenceStatus: include invisible in typings (#4585) (276dddc)
  • GuildMember: set #nickname to null as the default value (#4641) (2adb581)
  • Typings: setSpeaking public (#4109) (e3303ac)
  • Typings: allow custom events (#4162) (47151fc)
  • Typings: correct spelling of APIError (#4687) (c55b5c8)
  • Typings: add optional Set to shardReady event (#4099) (97d23de)
  • Typings: Channel#delete returns bad type (#4118) (3df9993)
  • User: type dmChannel as nullable (#4609) (f9f3661)
  • Util: Fix cleanContent mention exploit (#4663) (fb1dd6b)
  • Client: in/de-crement max listener for client events (#4168) (407bc77)
  • Channel: typing start event emitting on non text based channels (#4349) (16847a3)
  • Voice: correctly set speaking data in the voice ssrcMap (d3c9384)
  • Webpack: add Buffer polyfill in browser (#4102) (67a74c3)

Features

  • Client: trigger userUpdate on GUILD_MEMBER_UPDATE (#4697) (178439e)
  • BitField: add problematic bit to error (#4617) (0225851)
  • Guild: add fetchVanityData (#4103) (8030612)
  • Guild: discovery splash (#4619) (5be6630)
  • Guild: updates for Community guilds (#4377) (57ca3d7)
  • Guild: fetch withCount param (#4111) (0266917)
  • GuildEmoji: cache the author (#4334) (b7740d4)
  • GuildManager: adds GuildManager#fetch (#4086) (2742923)
  • GuildMemberManager: nonce and chunk_count for _fetchMany (#4130) (ec0227a)
  • GuildMemberManager: prune roles query param (#4142) (f1194af)
  • Message: support pin and unpin with reason (#4586) (c79ac4d)
  • MessageMentions: fix typings/docs, add resolvables support (#4339) (214981f)
  • Module: add ReactionManager to exports (#4372) (2b6e6d8), closes #4363
  • Typings: BitFieldResolvable use ReadonlyArray (#4604) (f2f31a1)
  • Typings: add number type for setExplicitContentFilter method (#4694) (e7eda72)
  • Typings: use readonly arrays in parameters (#4692) (f451be0)
  • DataResolver: add Blob support for browser (#4338) (1fbaf88)
  • *: bypass cache check with forceFetch param (#4592) (290938b)
  • Guild: deprecate GuildEmbed methods and properties in favour of GuildWidget (#4121) (e92cbc4)
  • REST: allow options.query as URLSearchParams (#4143) (257371d)
  • Typings: TypeScript support for changing $browser (#4667) (e54c21b)
  • Util: add missing colors to docs (#3843) (03580b2)
  • VoiceState: add self_video property (#4346) (54a7fda)

Don't miss a new discord.js release

NewReleases is sending notifications on new releases.