You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/nextra-docs/pages/docs/handler-properties.mdx
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,26 +6,40 @@ When a CommandKit class has been instantiated, it's easier to refer to the resul
6
6
7
7
- Type: `CommandObject[]`
8
8
9
-
### `commandsPath`
9
+
An array of all the command objects that CommandKit is handling. This includes all the properties and methods that are also set outside of CommandKit's configuration. It does however not include the `run` method since CommandKit handles that internally.
10
+
11
+
### `commandsPath` (development version)
10
12
11
13
- Type: `string | undefined`
12
14
13
-
### `eventsPath`
15
+
The path to the commands directory which was set when [instantiating CommandKit](/docs/commandkit-setup).
16
+
17
+
### `eventsPath` (development version)
14
18
15
19
- Type: `string | undefined`
16
20
17
-
### `validationsPath`
21
+
The path to the events directory which was set when [instantiating CommandKit](/docs/commandkit-setup).
22
+
23
+
### `validationsPath` (development version)
18
24
19
25
- Type: `string | undefined`
20
26
21
-
### `devUserIds`
27
+
The path to the validations directory which was set when [instantiating CommandKit](/docs/commandkit-setup).
28
+
29
+
### `devUserIds` (development version)
22
30
23
31
- Type: `string[]`
24
32
25
-
### `devGuildIds`
33
+
The array of developer user IDs which was set when [instantiating CommandKit](/docs/commandkit-setup).
34
+
35
+
### `devGuildIds` (development version)
26
36
27
37
- Type: `string[]`
28
38
29
-
### `devRoleIds`
39
+
The array of development server IDs which was set when [instantiating CommandKit](/docs/commandkit-setup).
40
+
41
+
### `devRoleIds` (development version)
30
42
31
43
- Type: `string[]`
44
+
45
+
The array of developer role IDs which was set when [instantiating CommandKit](/docs/commandkit-setup).
Based on your preferred package manager, run one of the commands in your terminal:
5
+
To install CommandKit, run one of the following commands based on your preferred package manager:
6
6
7
7
```sh npm2yarn copy
8
8
npm install commandkit
9
9
```
10
+
11
+
## Development version
12
+
13
+
CommandKit has a development version which is automatically updated with each push to the `master` branch in the [GitHub repository](https://github.com/underctrl-io/commandkit) To install the development version of CommandKit, run the following command:
14
+
15
+
```sh copy
16
+
npm install underctrl-io/commandkit#dev-build
17
+
```
18
+
19
+
<Callouttype="warning">The development version is likely to have bugs.</Callout>
0 commit comments