npm discord-api-types 0.25.0

latest releases: 0.37.104, 0.37.104-next.6813c62.1730842741, 0.37.104-next.736479c.1730842637...
2 years ago

0.25.0 (2021-11-29)

Bug Fixes

  • APIApplicationCommandOption: remove default property (#242) (faa8bf4)
  • correct types for autocomplete interaction data (#234) (691abb5)
  • correct types for REST attachments (#238) (fa54b9d)
  • make subcommand options optional (#241) (7379a34)

Code Refactoring

Features

  • add guild scheduled event (#186) (d333962)
  • RESTPostAPIChannelThreadsJSONBody: add rate_limit_per_user (#237) (1e52e0c)
  • add max/min option for number-based options (#221) (bc1d03e)
  • add maze api error (#228) (7a15c97)
  • ActivityFlags: add new flags (#207) (0f51d8e)
  • ApplicationFlags: add message content intent flags (#226) (d189e36)
  • Attachments: multi uploads and alt text (#223) (fdf133e)
  • GuildSystemChannelFlags: add suppress member join sticker replies flag (#222) (4021dae)
  • Interactions: add autocomplete api types (#205) (3b9320d)
  • UserFlags: add BOT_HTTP_INTERACTIONS flag (#212) (a015f96)

BREAKING CHANGES

  • UserFlags: All user flags now follow the internal name, with descriptions added for what they represent. This means you'll have to do some minor renaming in your code if you check for flags.
  • APIApplicationCommandOption: If you were using the default property for ApplicationCommandOptions, it has been removed, as Discord wasn't even taking it into account anymore.
  • The types for autocomplete interactions have been corrected.

New Contributors

Full Changelog: 0.24.0...0.25.0

Don't miss a new discord-api-types release

NewReleases is sending notifications on new releases.