Skip to content

Releases: Snazzah/slash-create

v5.6.1

21 May 18:38
28a03c7
Compare
Choose a tag to compare

Fixed:

  • Permissions: fixed type mixing in class functions

v5.6.0

16 May 01:38
2828c67
Compare
Choose a tag to compare

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

29 Apr 19:05
20b3df9
Compare
Choose a tag to compare

Added:

  • SlashCommand: Added forcePermissions option to be able to use default permissions while letting admins change permissions via Integrations page

v5.5.2

29 Apr 00:19
25f9e43
Compare
Choose a tag to compare

Fixed:

  • SlashCreator: Fix handling outdated command classes (for slash-up compatibility)

v5.5.1

28 Apr 23:57
745d6e6
Compare
Choose a tag to compare

Fixed:

  • Permissions: Fixed bitfield depending on class name while resolving

v5.5.0

28 Apr 20:08
a9b0a91
Compare
Choose a tag to compare

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 using default_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

v5.4.1

30 Mar 22:47
6dc642d
Compare
Choose a tag to compare

Fixed:

  • Fixed syncing erroring for old command classes

v5.4.0

30 Mar 22:13
33fff14
Compare
Choose a tag to compare

Added:

  • ModalInteractionContext: Added #data, #message, and #editParent (#263)
  • ModalInteractionContext: Added #acknowledge (#262)
  • SlashCommand: Added command localization (#270)

Fixed:

  • Message: Fixed message mentions not being parsed correctly (#271)

v5.3.0

04 Mar 22:07
2c4deb7
Compare
Choose a tag to compare

Added:

  • SlashCreator: Added disableTimeouts option

Fixed:

  • SlashCreator: Fixed deep equal checking when syncing

v5.2.1

10 Feb 11:08
df714e7
Compare
Choose a tag to compare

Fixed:

  • Fix types for ApplicationCommandOptionBase (#247)