CommandKitOptions
CommandKitOptions
Options for instantiating a CommandKit handler.
| Property | Type | Value | Description |
|---|---|---|---|
| bulkRegister | boolean | N/A | Bulk register application commands instead of one-by-one. |
| client | Client<boolean> | N/A | The Discord.js client object to use with CommandKit. |
| commandsPath | string | N/A | The path to your commands directory. |
| devGuildIds | Array<string> | N/A | List of development guild IDs to restrict devOnly commands to. |
| devRoleIds | Array<string> | N/A | List of developer role IDs to restrict devOnly commands to. |
| devUserIds | Array<string> | N/A | List of developer user IDs to restrict devOnly commands to. |
| eventsPath | string | N/A | The path to your events directory. |
| skipBuiltInValidations | boolean | N/A | Skip CommandKit's built-in validations (for devOnly commands). |
| validationsPath | string | N/A | The path to the validations directory. |