Skip to main content
Version: Next

CommandKitOptions

CommandKitOptions

Options for instantiating a CommandKit handler.

PropertyTypeValueDescription
bulkRegisterbooleanN/ABulk register application commands instead of one-by-one.
clientClient<boolean>N/AThe Discord.js client object to use with CommandKit.
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.
eventsPathstringN/AThe path to your events directory.
skipBuiltInValidationsbooleanN/ASkip CommandKit's built-in validations (for devOnly commands).
validationsPathstringN/AThe path to the validations directory.