File tree 4 files changed +24
-49
lines changed
4 files changed +24
-49
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# CommandData
2
2
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 )
Original file line number Diff line number Diff line change @@ -2,6 +2,28 @@ import { Callout } from 'nextra/components';
2
2
3
3
# Installation
4
4
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
+
5
27
To install CommandKit, run one of the following commands based on your preferred package manager:
6
28
7
29
``` sh npm2yarn copy
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " commandkit" ,
3
3
"description" : " Beginner friendly command & event handler for Discord.js" ,
4
- "version" : " 0.1.7 " ,
4
+ "version" : " 0.1.8 " ,
5
5
"license" : " MIT" ,
6
6
"main" : " ./dist/index.js" ,
7
7
"module" : " ./dist/index.mjs" ,
You can’t perform that action at this time.
0 commit comments