Skip to content

Updated docs #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/docs/pages/docs/commandkit-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,15 @@ This is a simple overview of how to set up CommandKit with all the available opt

</Tabs>

<Callout>Some Discord.js properties are only accessible using the correct intents.</Callout>
<Callout type="warning">
Some Discord.js properties are only accessible using the correct intents.
</Callout>

## CommandKit options

### `client`

- Type: [`Client`](https://discord.js.org/docs/packages/core/1.0.1/Client:Class)
- Type: [`Client`](https://old.discordjs.dev/#/docs/discord.js/main/class/Client)

This is your Discord.js client object. This is required to register and handle application commands and events.

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 @@ -12,7 +12,7 @@ npm install commandkit

To install the development version of CommandKit, run the following command:

```sh copy
```sh npm2yarn copy
npm install commandkit@dev
```

Expand Down