Releases: Snazzah/slash-create
Releases · Snazzah/slash-create
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
v6.0.2
v6.0.1
v6.0.0
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
andSlashCreator#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
andmax_length
to string options now exists