Skip to main content
Version: Next

CommandKitData

CommandKitData

Private data for the CommandKit class.

PropertyTypeValueDescription
bulkRegisterbooleanN/ABulk register application commands instead of one-by-one.
clientClient<boolean>N/AThe Discord.js client object to use with CommandKit.
commandHandlerCommandHandlerN/AN/A
commandsPathstringN/AThe path to your commands directory.
devGuildIdsArray<string>N/AList of development guild IDs to restrict devOnly commands to.
devRoleIdsArray<string>N/AList of developer role IDs to restrict devOnly commands to.
devUserIdsArray<string>N/AList of developer user IDs to restrict devOnly commands to.
eventHandlerEventHandlerN/AN/A
eventsPathstringN/AThe path to your events directory.
skipBuiltInValidationsbooleanN/ASkip CommandKit's built-in validations (for devOnly commands).
validationHandlerValidationHandlerN/AN/A
validationsPathstringN/AThe path to the validations directory.