Releases: Snazzah/slash-create
Releases · Snazzah/slash-create
v6.3.1
v6.3.0
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
andthread
) - polls (
poll
) activity
applicationID
- message snapshots / forwarded messages (
messageSnapshots
) - stickers (
stickerItems
)
- call objects (
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
, andephemeral
- [types] Updated
Message#components
to be an array of any component rather than just action rows (See discord/discord-api-docs#7115)
v6.2.1
v6.2.0
v6.1.4
v6.1.3
Fixed:
- Updated
undici
to fix a low severity CVE (CVE-2024-24758)
v6.1.2
v6.1.1
v6.1.0
Added:
- Support for user-installable apps (discord changelog)
- Added
SlashCommandOptions#integrationTypes
andSlashCommandOptions#contexts
- Added
BaseInteraction#authorizingIntegrationOwners
andBaseInteraction#context
Message#interaction
deprecated in favor ofMessage#interactionMetadata
- Added
Fixed:
- Added
applied_tags
field to channel structure (#607) - Use global name in
Member#displayName