npm discord-api-types 0.20.0

latest releases: 0.37.101, 0.37.101-next.240226f.1727090193, 0.37.101-next.57ee8db.1727017041...
3 years ago

0.20.0 (2021-07-20)

chore

Code Refactoring

Features

  • PermissionFlagsBits: add UseExternalStickers (1n << 37n) (#154) (5dccc6b)
  • RESTJSONErrorCodes: add sticker errors (#155) (8dbeca0)

BREAKING CHANGES

  • GatewayGuildMemberUpdateDispatchData#joined_at is properly marked as nullable now
  • In v9, thread_id was incorrectly placed in RESTPostAPIWebhookWithTokenJSONBody and has been moved to RESTPostAPIWebhookWithTokenQuery
  • All types that contained the ID word in them have had it renamed to Id (ex: APIButtonComponentWithCustomID is now APIButtonComponentWithCustomId)
  • The isStyledButton util has been renamed to isInteractionButton

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

NewReleases is sending notifications on new releases.