Releases: Snazzah/slash-create
Releases · Snazzah/slash-create
v5.7.0
v5.6.1
v5.6.0
Added:
- SlashCreator: Added
componentTimeouts
option to enable automatic component timeouts.
Fixed:
- MessageInteractionContext: Component registry is no longer tied to the expiry of the interaction.
- MessageInteractionContext: The component expiration starts at the time of registering, rather than the time of the interaction.
v5.5.3
v5.5.2
v5.5.1
v5.5.0
Changed:
- Command permissions have been deprecated, including these methods/options:
SyncCommandOptions#syncPermissions
SlashCreator#syncCommandPermissions
SlashCommandOptions#permissions
SlashCreatorAPI#bulkUpdateCommandPermissions
- SlashCommandOptions:
#requiredPermissions
now sets member permissions within the command usingdefault_member_permissions
. - SlashCommand:
#commandJSON
is now deprecated in favor of#toCommandJSON
.
Added:
- Permissions: New flags:
SEND_MESSAGES_IN_THREADS
,USE_EMBEDDED_ACTIVITIES
,MODERATE_MEMBERS
- ApplicationCommandPermissionType: New type:
CHANNEL = 3
- SlashCommandOptions: Added
#dmPermission
- SlashCreatorAPI: Added
withLocalization
option to#getCommands
- CommandContext: Initial response attachments support
Fixed:
- Permission names in constants being outdated
SlashCommandOptions#requiredPermissions
option checking