Skip to content

Commit 843899e

Browse files
committed
2 parents 4bec6eb + c89338e commit 843899e

22 files changed

+48
-84
lines changed

apps/docs/content/docs/classes/CommandKit.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,47 +17,47 @@ CommandKit(options);
1717

1818
### public static \_instance: any
1919

20-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L12)
20+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L12)
2121

2222
### public client: any
2323

2424
Get the client attached to this CommandKit instance.
2525

26-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L42)
26+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L42)
2727

2828
### public commandHandler: any
2929

3030
Get command handler instance.
3131

32-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L49)
32+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L49)
3333

3434
### public commands: any
3535

36-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L129)
36+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L128)
3737

3838
### public commandsPath: any
3939

40-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L145)
40+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L144)
4141

4242
### public devGuildIds: any
4343

44-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L173)
44+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L172)
4545

4646
### public devRoleIds: any
4747

48-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L180)
48+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L179)
4949

5050
### public devUserIds: any
5151

52-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L166)
52+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L165)
5353

5454
### public eventsPath: any
5555

56-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L152)
56+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L151)
5757

5858
### public validationsPath: any
5959

60-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L159)
60+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L158)
6161

6262
## Methods
6363

@@ -69,16 +69,16 @@ Updates application commands with the latest from "commandsPath".
6969
| --------- | ------------- | -------- |
7070
| type | ReloadOptions ||
7171

72-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L105)
72+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L104)
7373

7474
### public reloadEvents(): [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[void](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)>
7575

7676
Updates application events with the latest from "eventsPath".
7777

78-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L113)
78+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L112)
7979

8080
### public reloadValidations(): [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[void](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)>
8181

8282
Updates application command validations with the latest from "validationsPath".
8383

84-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/CommandKit.ts#L121)
84+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/CommandKit.ts#L120)

apps/docs/content/docs/enums/ReloadType.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ description: No description provided
1010
| Developer | 'dev' | N/A | Reload developer/guild commands. |
1111
| Global | 'global' | N/A | Reload global commands. |
1212

13-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L284)
13+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L275)

apps/docs/content/docs/types/AutocompleteProps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Props for autocomplete command run functions.
1313
| handler | [CommandKit](/docs/classes/CommandKit) | N/A | The current CommandKit handler instance. |
1414
| interaction | [AutocompleteInteraction\<CacheType>](https://discord.js.org/docs/packages/discord.js/main/AutocompleteInteraction:Class) | N/A | The current autocomplete command interaction object. |
1515

16-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L146)
16+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L137)

apps/docs/content/docs/types/CommandContext.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Represents a command context.
1313
| handler | [CommandKit](/docs/classes/CommandKit) | N/A | The command data. |
1414
| interaction | Interaction\<CacheType> | N/A | The interaction that triggered this command. |
1515

16-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L80)
16+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L71)

apps/docs/content/docs/types/CommandData.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ description: No description provided
77

88
- Type: RESTPostAPIApplicationCommandsJSONBody
99

10-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L256)
10+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L247)

apps/docs/content/docs/types/CommandFileObject.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Represents a command file.
1616
| options | CommandOptions | N/A |
1717
| run | ( ctx: CommandContext\<Interaction, Cached> ) => void | N/A |
1818

19-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L101)
19+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L92)

apps/docs/content/docs/types/CommandKitData.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ Private data for the CommandKit class.
1818
| devUserIds | Array\<string> | N/A | List of developer user IDs to restrict devOnly commands to. |
1919
| eventHandler | EventHandler | N/A | N/A |
2020
| eventsPath | [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) | N/A | The path to your events directory. |
21-
| experimental | \{ hooks: boolean } | N/A | Options for experimental features. |
2221
| skipBuiltInValidations | [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | N/A | Skip CommandKit's built-in validations (for devOnly commands). |
2322
| validationHandler | ValidationHandler | N/A | N/A |
2423
| validationsPath | [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) | N/A | The path to the validations directory. |
2524

26-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L71)
25+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L62)

apps/docs/content/docs/types/CommandKitOptions.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Options for instantiating a CommandKit handler.
1616
| devRoleIds | Array\<string> | N/A | List of developer role IDs to restrict devOnly commands to. |
1717
| devUserIds | Array\<string> | N/A | List of developer user IDs to restrict devOnly commands to. |
1818
| eventsPath | [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) | N/A | The path to your events directory. |
19-
| experimental | \{ hooks: boolean } | N/A | Options for experimental features. |
2019
| skipBuiltInValidations | [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | N/A | Skip CommandKit's built-in validations (for devOnly commands). |
2120
| validationsPath | [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) | N/A | The path to the validations directory. |
2221

apps/docs/content/docs/types/CommandObject.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ description: No description provided
1212
options: CommandOptions
1313
}
1414

15-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L258)
15+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L249)

apps/docs/content/docs/types/CommandOptions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Additional command configuration options.
1515
| guildOnly | [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | N/A | A boolean indicating whether the command is guild-only. Used for built-in validation. |
1616
| userPermissions | 'CreateInstantInvite' \| 'KickMembers' \| 'BanMembers' \| 'Administrator' \| 'ManageChannels' \| 'ManageGuild' \| 'AddReactions' \| 'ViewAuditLog' \| 'PrioritySpeaker' \| 'Stream' \| 'ViewChannel' \| 'SendMessages' \| 'SendTTSMessages' \| 'ManageMessages' \| 'EmbedLinks' \| 'AttachFiles' \| 'ReadMessageHistory' \| 'MentionEveryone' \| 'UseExternalEmojis' \| 'ViewGuildInsights' \| 'Connect' \| 'Speak' \| 'MuteMembers' \| 'DeafenMembers' \| 'MoveMembers' \| 'UseVAD' \| 'ChangeNickname' \| 'ManageNicknames' \| 'ManageRoles' \| 'ManageWebhooks' \| 'ManageEmojisAndStickers' \| 'ManageGuildExpressions' \| 'UseApplicationCommands' \| 'RequestToSpeak' \| 'ManageEvents' \| 'ManageThreads' \| 'CreatePublicThreads' \| 'CreatePrivateThreads' \| 'UseExternalStickers' \| 'SendMessagesInThreads' \| 'UseEmbeddedActivities' \| 'ModerateMembers' \| 'ViewCreatorMonetizationAnalytics' \| 'UseSoundboard' \| 'CreateGuildExpressions' \| 'CreateEvents' \| 'UseExternalSounds' \| 'SendVoiceMessages' \| 'SendPolls' \| 'UseExternalApps' \| Array\<'CreateInstantInvite' \| 'KickMembers' \| 'BanMembers' \| 'Administrator' \| 'ManageChannels' \| 'ManageGuild' \| 'AddReactions' \| 'ViewAuditLog' \| 'PrioritySpeaker' \| 'Stream' \| 'ViewChannel' \| 'SendMessages' \| 'SendTTSMessages' \| 'ManageMessages' \| 'EmbedLinks' \| 'AttachFiles' \| 'ReadMessageHistory' \| 'MentionEveryone' \| 'UseExternalEmojis' \| 'ViewGuildInsights' \| 'Connect' \| 'Speak' \| 'MuteMembers' \| 'DeafenMembers' \| 'MoveMembers' \| 'UseVAD' \| 'ChangeNickname' \| 'ManageNicknames' \| 'ManageRoles' \| 'ManageWebhooks' \| 'ManageEmojisAndStickers' \| 'ManageGuildExpressions' \| 'UseApplicationCommands' \| 'RequestToSpeak' \| 'ManageEvents' \| 'ManageThreads' \| 'CreatePublicThreads' \| 'CreatePrivateThreads' \| 'UseExternalStickers' \| 'SendMessagesInThreads' \| 'UseEmbeddedActivities' \| 'ModerateMembers' \| 'ViewCreatorMonetizationAnalytics' \| 'UseSoundboard' \| 'CreateGuildExpressions' \| 'CreateEvents' \| 'UseExternalSounds' \| 'SendVoiceMessages' \| 'SendPolls' \| 'UseExternalApps'> | N/A | A string or array of permissions that a user needs for the current command to be executed. Used for built-in validation. |
1717

18-
- [Source](https://github.com/underctrl-io/commandkit/blob/6ce87cba44f953b46a72430cb1272818640529f4/packages/commandkit/src/types.ts#L215)
18+
- [Source](https://github.com/underctrl-io/commandkit/blob/4bec6eb15c6d8d01a8ef971868bc7d589a20269e/packages/commandkit/src/types.ts#L206)

0 commit comments

Comments
 (0)