Skip to content

Releases: underctrl-io/commandkit

v0.1.5

04 Oct 07:17
b6d8884

Choose a tag to compare

Update highly recommended

Fixed

  • Fix type missing from command options when using builder classes.
  • Fix commands marked with deleted not being ignored with bulkRegister.

v0.1.4

03 Oct 14:27
a92d7d9

Choose a tag to compare

Added

Updated

  • README.md for monorepo + package.
  • Dev build installation command to npm install commandkit@dev

Removed

  • Colors dependency (replaced with built-in functions).

Fixed

  • ESM not working due to colors dependency.
  • CommandObject type.

v0.1.3

22 Sep 08:02
eb66f9a

Choose a tag to compare

Added

  • CommandKit (handler) getters:
    • commandsPath
    • devGuildIds
    • devRoleIds
    • devUserIds
    • eventsPath
    • validationsPath

v0.1.2

19 Sep 17:01
e0a7751

Choose a tag to compare

Fixed

  • CommandData -> options type

v0.1.1

14 Sep 16:48
24a2ae4

Choose a tag to compare

Fixed

  • options type for the CommandData interface.

Added

  • Support for exports.default for event and validation functions (targeted for TS transpiled code).

Changed

  • README.md

v0.1.0

09 Sep 11:05
3bc71b4

Choose a tag to compare

Added

  • handler object to command, event, and validation params. Going forward this will give access to properties and methods which will make development easier.
  • Type definitions for better TypeScript support.

Changed

  • userPermissions and botPermissions built-in validations now reply with the command’s missing permissions instead of all the required permissions.
  • userPermissions and botPermissions doesn’t require an array for single permissions anymore. They can now be directly set to a PermissionResolvable.

Fixed

  • Colors dependency affecting global String.prototype.

v0.0.10

28 Aug 17:30
2dbb3e4

Choose a tag to compare

Added

  • Support for ESM using tsup.
  • Colored terminal messages to differentiate warnings, errors, and success messages.

Removed

  • CHANGELOG.md in favor of the releases section

v0.0.9

09 Aug 13:34
2c9b065

Choose a tag to compare

Added

  • Support for developer role IDs.
  • Ability to skip built-in validations by setting skipBuiltInValidations to true inside the CommandKit constructor.

Changed

  • Change validations to run custom user validations first, then CommandKit's built-in validations.