Skip to content

Commit

Permalink
update version + match docs
Browse files Browse the repository at this point in the history
  • Loading branch information
notunderctrl committed Oct 3, 2023
1 parent 5a21662 commit a92d7d9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/docs/pages/docs/commandkit-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Trying to execute a command when this is set to at-least 1 role ID will call a b
This is used to disable CommandKit's built-in validation functions. Setting this to `true` will ignore the default behaviour of validating who is running commands marked with `devOnly`.
### `bulkRegister` (development version - optional)
### `bulkRegister` (optional)
- Type `boolean`
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ npm install commandkit

## Development version

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:
To install the development version of CommandKit, run the following command:

```sh copy
npm install commandkit@dev
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/enums/ReloadType.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ReloadType (development version)
# ReloadType

### Developer

Expand Down
8 changes: 4 additions & 4 deletions apps/docs/pages/typedef/CommandKit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ The array of development server IDs which was set when [instantiating CommandKit

The array of developer role IDs which was set when [instantiating CommandKit](/docs/commandkit-setup).

### `reloadCommands` (development version)
### `reloadCommands`

- Props type: `'dev'` | `'global'` | [`ReloadType`](/enums/ReloadType) (optional)
- Return type: `Promise<void>`

Reloads application commands. Using "dev" will only reload commands marked with `devOnly`, and using "global" will do the opposite. Not passing in a property will reload both dev and global commands. The reload behaviour depends on [`bulkRegister`](/docs/commandkit-setup#bulkregister-development-version---optional).
Reloads application commands. Using "dev" will only reload commands marked with `devOnly`, and using "global" will do the opposite. Not passing in a property will reload both dev and global commands. The reload behaviour depends on [`bulkRegister`](/docs/commandkit-setup#bulkregister---optional).

### `reloadEvents` (development version)
### `reloadEvents`

- Return type: `Promise<void>`

Resets and reloads application events.

### `reloadValidations` (development version)
### `reloadValidations`

- Return type: `Promise<void>`

Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/typedef/CommandObject.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

- Type: [`CommandOptions`](/typedef/CommandOptions)

### `filePath` (development version)
### `filePath`

- Type: `string`

### `category` (development version)
### `category`

- Type: `string` | `null`
2 changes: 1 addition & 1 deletion packages/commandkit/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "commandkit",
"description": "Beginner friendly command & event handler for Discord.js",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down

0 comments on commit a92d7d9

Please sign in to comment.