Only focus on what matters - Let CommandKit handle your commands and events in your Discord.js projects!
MIT License
Bot releases are hidden (Show)
onEnd
to ButtonKit by @notunderctrl in https://github.com/underctrl-io/commandkit/pull/40
Full Changelog: https://github.com/underctrl-io/commandkit/compare/v0.1.9...v0.1.10
Published by notunderctrl 10 months ago
ValidationFunctionProps
type name to ValidationProps
.autocompleteRun
command function name to autocomplete
.AutocompleteCommandProps
type name to AutocompleteProps
.guildOnly
in command options. CommandKit no longer handles the guildOnly
condition. Use dm_permission
in your command data
object instead.Published by notunderctrl 10 months ago
Full Changelog: https://github.com/underctrl-io/commandkit/compare/v0.1.7...v0.1.8
Published by twlite 10 months ago
Full Changelog: https://github.com/underctrl-io/commandkit/compare/v0.1.6...v0.1.7
Published by notunderctrl about 1 year ago
Published by notunderctrl about 1 year ago
Update highly recommended
type
missing from command options
when using builder classes.deleted
not being ignored with bulkRegister
.Published by notunderctrl about 1 year ago
reloadCommands()
(global + developer only).reloadEvents()
.reloadValidations()
.bulkRegister
application commands during startup/reload instead of one-by-one.devUserIds
or devRoleIds
are not set with commands marked with devOnly
.filePath
and category
for command objects.npm install commandkit@dev
CommandObject
type.Published by notunderctrl about 1 year ago
CommandKit
(handler) getters:
commandsPath
devGuildIds
devRoleIds
devUserIds
eventsPath
validationsPath
Published by notunderctrl about 1 year ago
CommandData
-> options
typePublished by notunderctrl about 1 year ago
options
type for the CommandData
interface.exports.default
for event and validation functions (targeted for TS transpiled code).Published by notunderctrl about 1 year ago
handler
object to command, event, and validation params. Going forward this will give access to properties and methods which will make development easier.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
.String.prototype
.Published by notunderctrl about 1 year ago
Published by notunderctrl about 1 year ago
skipBuiltInValidations
to true
inside the CommandKit
constructor.