npm discord-api-types 0.13.0

latest releases: 0.37.86, 0.37.86-next.0c46476.1716529402, 0.37.86-next.d273000.1716528433...
3 years ago

Changes

  • OAuth2: add /oauth2/@me route (84759d1)
  • Webhook: add Webhook message edit result, and invalid webhook token error (4c77a5d)
  • ApplicationCommand:
    • add application command events (da2c2e9)
    • add fetch single application command routes (5826da2)
  • JSONErrorCodes: add unknown guild template error code (5826da2)
  • FormattingPatterns: add regular expressions for common formatting patterns in messages (4e4a084, 3bf9738)
  • APIMessageReferenceSend: add fail_if_not_exists property (855f36d)
  • AuditLog: add missing change keys (63096d8)
  • RESTRoutes: add API bases (466fa95)
  • RESTPostAPIGuildsJSONBody: correctly mark some fields as nullable (ae1900d)
  • APIInteraction: ad DM slash commands (d0b3106)
  • APIMessage: add interaction property (0f29b32)
  • APIApplication: document known ApplicationFlags (92f76f1)
  • APIInteractionResponse, APIInteractionResponseType:
    • document the new response types (eafe7ba)
    • remove old response types (76651ac)
  • APIApplicationCommandInteractionData: add resolved property (24155ae)
  • RESTPostAPIChannelMessageJSONBody: correctly type tts as a boolean (9d8d090)
  • APIBaseInteraction: add application_id property (0582f88)
  • APIApplicationCommandInteractionDataOption: add types to all options (ca61396)
  • PermissionFlagsBits: add USE_APPLICATION_COMMANDS (ceb787b)

Miscellaneous

  • GatewayHeartbeat: clarify that the HEARTBEAT op code is bidirectional (70bfe9f)
  • CI/CD and deno: update CI/CD workflow, and bring deno types up to date (ff76175)
  • deno: replace all const enum with enum (7343fab)
  • GitHub: add missing markdowns with instructions (eb3f8e1)
  • deno: make git commit hooks also auto-build deno files (eb3f8e1)

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

NewReleases is sending notifications on new releases.