commandkit

Only focus on what matters - Let CommandKit handle your commands and events in your Discord.js projects!

MIT License

Downloads
1.1K
Stars
91
Committers
10

Bot releases are hidden (Show)

commandkit - v0.1.10 Latest Release

Published by twlite 10 months ago

What's Changed

Full Changelog: https://github.com/underctrl-io/commandkit/compare/v0.1.9...v0.1.10

commandkit - v0.1.9

Published by notunderctrl 10 months ago

Changes (breaking)

  • Update ValidationFunctionProps type name to ValidationProps.
  • Update autocompleteRun command function name to autocomplete.
  • Update AutocompleteCommandProps type name to AutocompleteProps.

Deprecated

  • guildOnly in command options. CommandKit no longer handles the guildOnly condition. Use dm_permission in your command data object instead.

Fixed

  • Broken docs links.
commandkit - v0.1.8 (deprecated)

Published by notunderctrl 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/underctrl-io/commandkit/compare/v0.1.7...v0.1.8

commandkit - v0.1.7

Published by twlite 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/underctrl-io/commandkit/compare/v0.1.6...v0.1.7

commandkit - v0.1.6

Published by notunderctrl about 1 year ago

Fixed

  • Custom validations not initializing on startup.
commandkit - v0.1.5

Published by notunderctrl about 1 year ago

Update highly recommended

Fixed

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

Published by notunderctrl about 1 year ago

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.
commandkit - v0.1.3

Published by notunderctrl about 1 year ago

Added

  • CommandKit (handler) getters:
    • commandsPath
    • devGuildIds
    • devRoleIds
    • devUserIds
    • eventsPath
    • validationsPath
commandkit - v0.1.2

Published by notunderctrl about 1 year ago

Fixed

  • CommandData -> options type
commandkit - v0.1.1

Published by notunderctrl about 1 year ago

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
commandkit - v0.1.0

Published by notunderctrl about 1 year ago

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.
commandkit - v0.0.10

Published by notunderctrl about 1 year ago

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
commandkit - v0.0.9

Published by notunderctrl about 1 year ago

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.