Skip to content

v6.3.0

Latest
Compare
Choose a tag to compare
@Snazzah Snazzah released this 25 Sep 01:01
· 2 commits to master since this release
422da8c

Changed:

  • POST callbacks will now return responses as InitialCallbackResponse, multiple functions can return this instead of a boolean denoting success

Added:

  • SlashCreators using webservers can use the postCallbacks option to serve 202s to interactions and POST a callback instead
  • Launching activities with MessageInteractionContext#launchActivity
  • Entry points
  • SlashCommand#getMention
  • MessageInteractionContext#defer now supports using any message flags
  • Support for editing message flags
  • Support for sending polls
  • [types] Updated MessageAttachmentOptions to support voice message properties
  • Message classes now support the following:
    • call objects (call)
    • more thread properties (position and thread)
    • polls (poll)
    • activity
    • applicationID
    • message snapshots / forwarded messages (messageSnapshots)
    • stickers (stickerItems)

Fixed:

  • HTTP errors will now properly format request errors
  • Fastify/Express servers should no longer respond early to some interactions
  • Message#interactionMetadata parsing has been updated and fixed to include more data
  • [types] Updated AutocompleteChoice to include name_localizations
  • [types] Updated MessageAttachment to include waveform, duration_secs, flags, title, and ephemeral
  • [types] Updated Message#components to be an array of any component rather than just action rows (See discord/discord-api-docs#7115)