github discordjs/discord.js 12.1.0

Bug Fixes

  • Channel: ensure partial DMChannels get created (#3954) (8c0a940)
  • Guild: default max presences value (#3970) (0f38d80)
  • GuildEmojiManager: throw an error if image resolving fails (#3934) (ca75eb5)
  • GuildMemberRolesManager: type error should mention Role and Snowflake too (#3931) (e5264ab)
  • MessageReaction: fetching a removed partial custom emoji (#3955) (a36a65b)
  • Partials: correctly document properties for partialized structures (#3922) (8b906c6)
  • RequestHandler: a global timeout implies limited (#3950) (7b38f46)
  • Typings: client message event should not emit PartialMessage (#3983) (f2fdb93)
  • TypingStart: typing methods returning falsy values (#3939) (495cfa9)
  • Util: cleanContent should remove mentions after formatting mentions (#3936) (44ac5fe)
  • WebsocketShard: pass ignore ACK when Discord asks for a beat (#3993) (65e8c92)
  • GuildDelete always emit guildUnavailable when a guild becomes unavailable (#3975) (2157401)

Features

  • AllowedMentions: add support for MessageOptions#allowedMentions (#3893) (df324e2)
  • GuildPreview: implement support for "preview" endpoint (#3965) (88133d0)
  • Permissions: Adds VIEW_GUILD_INSIGHTS (#3928) (5b9cdc5)
  • Types: support type-guarding using Channel#type string literal (#3918) (69d69f2)
  • Typings: allow event listener type param inference (#3944) (2be9eba)

Reverts

latest releases: 13.2.0, 13.1.0, 13.0.1...
19 months ago