Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency slash-create to v6 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 30, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
slash-create (source) ^5.14.0 -> ^6.0.0 age adoption passing confidence

Release Notes

Snazzah/slash-create (slash-create)

v6.2.1

Compare Source

Fixed:
  • Fixed global modal submit handlers causing errors (#​622)

v6.2.0

Compare Source

Added:
  • Added Server Context support for servers like Cloudflare Workers (#​621)
  • Added premium button, deprecating MessageInteractionContext#promptPremium (#​618)
Fixed:
  • Updated permission flags and names (#​617)

v6.1.4

Compare Source

Changed:
  • Export node util functions verifyKey and getFiles (#​614)
Fixed:
  • Handle null reponses properly in DiscordRESTError
  • Fix typing for ComponentButton (#​616)
  • Updated channel permissions description (#​613)

v6.1.3

Compare Source

Fixed:

v6.1.2

Compare Source

Fixed:
  • Added DANGER ButtonStyle in accordance to Discord documentation
  • Added the Request object to the rawREST event for SlashCreator

v6.1.1

Compare Source

Fixed:
  • Removed a debug log statement (#​608)

v6.1.0

Compare Source

Added:
  • Support for user-installable apps (discord changelog)
    • Added SlashCommandOptions#integrationTypes and SlashCommandOptions#contexts
    • Added BaseInteraction#authorizingIntegrationOwners and BaseInteraction#context
    • Message#interaction deprecated in favor of Message#interactionMetadata
Fixed:
  • Added applied_tags field to channel structure (#​607)
  • Use global name in Member#displayName

v6.0.2

Compare Source

Fixed:
  • Fixed some possible issues with verifying responses

v6.0.1

Compare Source

Fixed:
  • Fixed some types being exported, leading to failed builds

v6.0.0

Compare Source

Breaking Changes:
  • SlashCreator#syncCommands is now an asynchronous function, replacing #syncCommandsAsync.
  • All old command permission functions have been removed.
  • Command reregistering has been removed.
  • The request handler has been rewritten to use undici using this PR by @​HeadTriXz.
  • Setting a maximum signature timestamp (SlashCreatorOptions#maxSignatureTimestamp) has been removed. This has caused more issues and timestamps are not checked from other implementations of slash commands.
  • The minimum Node version of slash-create is now v16.
  • SlashCreator#registerCommandsIn is now async.
  • SlashCreator#registerCommand and SlashCreator#registerCommands now return the commands that have been registered.
Additions:
  • Commands can now use the throttle() function which takes a CommandContext and allows you to asynchronously ratelimit users before running the command itself.
  • slash-create now has a web export for built-in Cloudflare Worker compatibility.
  • Support for the Bun runtime with BunServer.
  • Added the USE_EXTERNAL_SOUNDS permission. (1 << 46)
Fixed:
  • types: min_length and max_length to string options now exists

Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from Codeize as a code owner December 30, 2023 15:21
Copy link

changeset-bot bot commented Dec 30, 2023

⚠️ No Changeset found

Latest commit: ea3bb1a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants