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.0Release Notes
Snazzah/slash-create (slash-create)
v6.7.1Compare Source
Added:
BYPASS_SLOWMODEpermissionFixed:
requiredin them for modalsv6.7.0Compare Source
Added:
v6.6.4Compare Source
Fixed:
v6.6.3Compare Source
Fixed:
SlashCreator.registerCommandsInnot registering properly after v6.4.2 due to not passing file URLs intoimport().v6.6.2Compare Source
Added:
v6.6.1Compare Source
Fixed:
v6.6.0Compare Source
Added:
LabelComponentas using action rows in modals are now deprecated.ModalInteractionContextcan now also have string arrays for those selects.PIN_MESSAGESpermission.Changed:
ComponentSelectMenuis now deprecated in favor ofAnySelectComponentas each component type is now split out into their own types.v6.5.0Compare Source
Added:
collectiblesto usersprimaryGuildto users (supporting guild tags)colorsto roles (supporting role gradients)v6.4.2Compare Source
Fixed:
express.jsonin the entire app (#633)SlashCreator.registerCommandsInnow usesimport()interally.v6.4.1Compare Source
Fixed:
.editParent()v6.4.0Compare Source
Added:
attachmentSizeLimitto interactionsguildin interactionChanged:
InteractionResponseFlagsenum is nowMessageFlags,InteractionResponseFlagsis now deprecated.allowed_mentionsin message optionsv6.3.2Compare Source
Fixed:
componentsinMessageInteractionContext.sendandMessageInteractionContext.sendFollowUpv6.3.1Compare Source
Added:
Fixed:
postCallbacksoption (#626)CommandContext.optionsv6.3.0Compare Source
Changed:
InitialCallbackResponse, multiple functions can return this instead of a boolean denoting successAdded:
postCallbacksoption to serve 202s to interactions and POST a callback insteadMessageInteractionContext#launchActivitySlashCommand#getMentionMessageInteractionContext#defernow supports using any message flagsMessageAttachmentOptionsto support voice message propertiescall)positionandthread)poll)activityapplicationIDmessageSnapshots)stickerItems)Fixed:
Message#interactionMetadataparsing has been updated and fixed to include more dataname_localizationswaveform,duration_secs,flags,title, andephemeralMessage#componentsto be an array of any component rather than just action rows (See discord/discord-api-docs#7115)v6.2.1Compare Source
Fixed:
v6.2.0Compare Source
Added:
MessageInteractionContext#promptPremium(#618)Fixed:
v6.1.4Compare Source
Changed:
verifyKeyandgetFiles(#614)Fixed:
v6.1.3Compare Source
Fixed:
undicito fix a low severity CVE (CVE-2024-24758)v6.1.2Compare Source
Fixed:
DANGERButtonStyle in accordance to Discord documentationrawRESTevent forSlashCreatorv6.1.1Compare Source
Fixed:
v6.1.0Compare Source
Added:
SlashCommandOptions#integrationTypesandSlashCommandOptions#contextsBaseInteraction#authorizingIntegrationOwnersandBaseInteraction#contextMessage#interactiondeprecated in favor ofMessage#interactionMetadataFixed:
applied_tagsfield to channel structure (#607)Member#displayNamev6.0.2Compare Source
Fixed:
v6.0.1Compare Source
Fixed:
v6.0.0Compare Source
Breaking Changes:
SlashCreator#syncCommandsis now an asynchronous function, replacing#syncCommandsAsync.undiciusing 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#registerCommandsInis now async.SlashCreator#registerCommandandSlashCreator#registerCommandsnow 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_SOUNDSpermission. (1 << 46)Fixed:
min_lengthandmax_lengthto 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.