Releases: Snazzah/slash-create
Releases · Snazzah/slash-create
v5.2.1
Fixed:
- Fix types for
ApplicationCommandOptionBase
(#247)
v5.2.0
Changed:
ComponentContext
and CommandContext
now extends off of ModalSendableContext
rather than just MessageInteractionContext
. ModalSendableContext
extends off of MessageInteractionContext
.
Added:
- CommandContext: Attachment options (#217)
- SlashCreator:
rawRequest
event (#245)
- Modal Interactions (#244)
v5.1.0
Added:
- MessageInteractionContext: User locale and guild locale (#216)
- SlashCreator: Support registering custom file extensions (#231)
v5.0.3
Changed:
- Replaced the
@discordjs/collection
dependency with a Collection class that has some of the features
Fixed:
- Fixed (potential) bug with parsing allowed mentions, allowing for formatted allowed mentions to be passed in the
formatAllowedMentions
util function
v5.0.2
Changed:
- Reverted the
@discordjs/collection
dependency to 0.2.1
to fall into the Node v14 version requirement (#215)
- This removes the following collection functions:
reverse
, ensure
, at
and keyAt
Added:
- types: Support disabled select menus (#211)
v5.0.1
Fixed:
- SlashCreator: Filter files in
registerCommandsIn
- SlashCreator: Fixed command invalidation in
reregisterCommand
v5.0.0
Breaking Changes:
- SlashCreator: Removed
require-all
dependency and replaced registerCommandsIn
options to only use strings
Added:
- SlashCreator: Add client passthrough option
Removed:
- types: Removed
RequireAllOptions
type
v4.4.2
Changed:
- Minimum Node Version is now v14
Fixed:
- SlashCreator: Fixed command invalidation when registering commands. This should allow for different instances of
slash-create
SlashCommand classes to work.
v4.4.1
Changed:
- Replaced the
lodash.uniq
dependency
Fixed:
- FastifyServer: Fixed FastifyServer not checking for servers properly in constructor
- util: Fix
oneLine
function
v4.4.0
Added:
- ResolvedMember: Added guild-specific avatar properties and methods (#185)
- MessageInteractionContext: Added wildcard components specification to get all component events from one message (#188)
- SlashCreator: Add syncCommandsAsync
Fixed:
- ComponentContext: Fixed allowing editing of just components