Releases: underctrl-io/commandkit
Releases · underctrl-io/commandkit
v0.1.5
Update highly recommended
Fixed
- Fix
typemissing from commandoptionswhen using builder classes. - Fix commands marked with
deletednot being ignored withbulkRegister.
v0.1.4
Added
- Ability to
reloadCommands()(global + developer only). - Ability to
reloadEvents(). - Ability to
reloadValidations(). - Option to
bulkRegisterapplication commands during startup/reload instead of one-by-one. - Warnings when
devUserIdsordevRoleIdsare not set with commands marked withdevOnly. - Support for .mjs and .cjs file extensions.
filePathandcategoryfor command objects.- Contributors guide.
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.
CommandObjecttype.
v0.1.3
Added
CommandKit(handler) getters:commandsPathdevGuildIdsdevRoleIdsdevUserIdseventsPathvalidationsPath
v0.1.2
Fixed
CommandData->optionstype
v0.1.1
Fixed
optionstype for theCommandDatainterface.
Added
- Support for
exports.defaultfor event and validation functions (targeted for TS transpiled code).
Changed
- README.md
v0.1.0
Added
handlerobject 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
userPermissionsandbotPermissionsbuilt-in validations now reply with the command’s missing permissions instead of all the required permissions.userPermissionsandbotPermissionsdoesn’t require an array for single permissions anymore. They can now be directly set to aPermissionResolvable.
Fixed
- Colors dependency affecting global
String.prototype.
v0.0.10
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
Added
- Support for developer role IDs.
- Ability to skip built-in validations by setting
skipBuiltInValidationstotrueinside theCommandKitconstructor.
Changed
- Change validations to run custom user validations first, then CommandKit's built-in validations.