chore(deps): update dependency slash-create to v6 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.14.0
->^6.0.0
Release Notes
Snazzah/slash-create (slash-create)
v6.3.0
Compare Source
Changed:
InitialCallbackResponse
, multiple functions can return this instead of a boolean denoting successAdded:
postCallbacks
option to serve 202s to interactions and POST a callback insteadMessageInteractionContext#launchActivity
SlashCommand#getMention
MessageInteractionContext#defer
now supports using any message flagsMessageAttachmentOptions
to support voice message propertiescall
)position
andthread
)poll
)activity
applicationID
messageSnapshots
)stickerItems
)Fixed:
Message#interactionMetadata
parsing has been updated and fixed to include more dataname_localizations
waveform
,duration_secs
,flags
,title
, andephemeral
Message#components
to be an array of any component rather than just action rows (See https://github.com/discord/discord-api-docs/pull/7115)v6.2.1
Compare Source
Fixed:
v6.2.0
Compare Source
Added:
MessageInteractionContext#promptPremium
(#618)Fixed:
v6.1.4
Compare Source
Changed:
verifyKey
andgetFiles
(#614)Fixed:
v6.1.3
Compare Source
Fixed:
undici
to fix a low severity CVE (CVE-2024-24758)v6.1.2
Compare Source
Fixed:
DANGER
ButtonStyle in accordance to Discord documentationrawREST
event forSlashCreator
v6.1.1
Compare Source
Fixed:
v6.1.0
Compare Source
Added:
SlashCommandOptions#integrationTypes
andSlashCommandOptions#contexts
BaseInteraction#authorizingIntegrationOwners
andBaseInteraction#context
Message#interaction
deprecated in favor ofMessage#interactionMetadata
Fixed:
applied_tags
field to channel structure (#607)Member#displayName
v6.0.2
Compare Source
Fixed:
v6.0.1
Compare Source
Fixed:
v6.0.0
Compare Source
Breaking Changes:
SlashCreator#syncCommands
is now an asynchronous function, replacing#syncCommandsAsync
.undici
using this PR by @HeadTriXz.SlashCreatorOptions#maxSignatureTimestamp
) has been removed. This has caused more issues and timestamps are not checked from other implementations of slash commands.SlashCreator#registerCommandsIn
is now async.SlashCreator#registerCommand
andSlashCreator#registerCommands
now return the commands that have been registered.Additions:
throttle()
function which takes a CommandContext and allows you to asynchronously ratelimit users before running the command itself.BunServer
.USE_EXTERNAL_SOUNDS
permission. (1 << 46)Fixed:
min_length
andmax_length
to string options now existsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.