Skip to content

Releases: Snazzah/slash-create

v5.2.1

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

Fixed:

  • Fix types for ApplicationCommandOptionBase (#247)

v5.2.0

09 Feb 15:59
c654630
Compare
Choose a tag to compare

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

04 Feb 03:32
f46fef4
Compare
Choose a tag to compare

Added:

  • MessageInteractionContext: User locale and guild locale (#216)
  • SlashCreator: Support registering custom file extensions (#231)

v5.0.3

10 Jan 11:35
c3a3017
Compare
Choose a tag to compare

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

06 Jan 21:24
dccf7e6
Compare
Choose a tag to compare

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

24 Dec 22:16
3a5710a
Compare
Choose a tag to compare

Fixed:

  • SlashCreator: Filter files in registerCommandsIn
  • SlashCreator: Fixed command invalidation in reregisterCommand

v5.0.0

23 Dec 18:10
784d1c4
Compare
Choose a tag to compare

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

20 Dec 19:06
6a5b118
Compare
Choose a tag to compare

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

19 Dec 07:41
0ea0abc
Compare
Choose a tag to compare

Changed:

  • Replaced the lodash.uniq dependency

Fixed:

  • FastifyServer: Fixed FastifyServer not checking for servers properly in constructor
  • util: Fix oneLine function

v4.4.0

06 Dec 00:38
7471ae4
Compare
Choose a tag to compare

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