Skip to content

Commit 312503e

Browse files
committed
refactor: v0.1.8
1 parent 58d82e3 commit 312503e

File tree

4 files changed

+24
-49
lines changed

4 files changed

+24
-49
lines changed

apps/docs/pages/docs/enums/CommandType.mdx

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
11
# CommandData
22

3-
### `default_member_permissions` (optional)
4-
5-
- Type: `string`
6-
7-
### `description`
8-
9-
- Type: `string`
10-
11-
### `description_localizations` (optional)
12-
13-
- Type: [`description_localizations`](https://discord-api-types.dev/api/discord-api-types-v10/interface/APIApplicationCommand#description_localizations)
14-
15-
### `dm_permission` (optional)
16-
17-
- Type: `boolean`
18-
19-
### `name`
20-
21-
- Type: `string`
22-
23-
### `name_localizations` (optional)
24-
25-
- Type: [`name_localizations`](https://discord-api-types.dev/api/discord-api-types-v10/interface/APIApplicationCommand#name_localizations)
26-
27-
### `nsfw` (optional)
28-
29-
- Type: `boolean`
30-
31-
### `options` (optional)
32-
33-
- Type: [`APIApplicationCommand[]`](https://discord-api-types.dev/api/discord-api-types-v10#APIApplicationCommandOption)
34-
35-
### `type` (optional)
36-
37-
- Type: [`CommandType`](/enums/CommandType)
3+
Type: [`RESTPostAPIApplicationCommandsJSONBody`](https://discord-api-types.dev/api/discord-api-types-v10#RESTPostAPIApplicationCommandsJSONBody)

apps/docs/pages/guide/installation.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@ import { Callout } from 'nextra/components';
22

33
# Installation
44

5+
<div align="center" className="my-8">
6+
<img
7+
src="https://raw.githubusercontent.com/underctrl-io/commandkit/master/apps/docs/public/ckit_logo.svg"
8+
width="60%"
9+
/>
10+
<br />
11+
<div className="flex items-center justify-center gap-2">
12+
<a href="https://ctrl.lol/discord">
13+
<img
14+
src="https://img.shields.io/discord/1055188344188973066?color=5865F2&logo=discord&logoColor=white"
15+
alt="support server"
16+
/>
17+
</a>
18+
<a href="https://www.npmjs.com/package/commandkit">
19+
<img src="https://img.shields.io/npm/v/commandkit?maxAge=3600" alt="npm version" />
20+
</a>
21+
<a href="https://www.npmjs.com/package/commandkit">
22+
<img src="https://img.shields.io/npm/dt/commandkit?maxAge=3600" alt="npm downloads" />
23+
</a>
24+
</div>
25+
</div>
26+
527
To install CommandKit, run one of the following commands based on your preferred package manager:
628

729
```sh npm2yarn copy

packages/commandkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "commandkit",
33
"description": "Beginner friendly command & event handler for Discord.js",
4-
"version": "0.1.7",
4+
"version": "0.1.8",
55
"license": "MIT",
66
"main": "./dist/index.js",
77
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)