Skip to content

Commit 4add8b3

Browse files
committed
use commandkit.dev as primary domain
1 parent 32b0230 commit 4add8b3

File tree

16 files changed

+20
-20
lines changed

16 files changed

+20
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you are looking for support or want to provide suggestions, check out the [Di
1212

1313
## Links
1414

15-
- [Website](https://commandkit.js.org) ([source](https://github.com/underctrl-io/commandkit/tree/main/apps/docs))
15+
- [Website](https://commandkit.dev) ([source](https://github.com/underctrl-io/commandkit/tree/main/apps/docs))
1616
- [Support Server](https://ctrl.lol/discord)
1717
- [CommandKit source](https://github.com/underctrl-io/commandkit/tree/main/packages/commandkit)
1818
- [npm](https://www.npmjs.com/package/commandkit)

apps/docs/content/guide/command-file-setup.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,27 +281,27 @@ Here's an example of how to use the `autocomplete` function:
281281

282282
### `data`
283283

284-
- Type: [`CommandData`](/docs/typedef/CommandData) | [`SlashCommandBuilder`](https://discord.js.org/docs/packages/builders/main/SlashCommandBuilder:Class) | [`ContextMenuCommandBuilder`](https://discord.js.org/docs/packages/builders/main/ContextMenuCommandBuilder:Class)
284+
- Type: [`CommandData`](/docs/types/CommandData) | [`SlashCommandBuilder`](https://discord.js.org/docs/packages/builders/main/SlashCommandBuilder:Class) | [`ContextMenuCommandBuilder`](https://discord.js.org/docs/packages/builders/main/ContextMenuCommandBuilder:Class)
285285

286286
This property contains the command's structural information, and is required to register and handle commands.
287287

288288
### `run`
289289

290290
- Type: `void`
291291

292-
- Props Type: [`SlashCommandProps`](/docs/typedef/SlashCommandProps) | [`ContextMenuCommandProps`](/docs/typedef/ContextMenuCommandProps)
292+
- Props Type: [`SlashCommandProps`](/docs/types/SlashCommandProps) | [`ContextMenuCommandProps`](/docs/types/ContextMenuCommandProps)
293293

294294
This function will be called when the command is executed.
295295

296296
### `autocomplete`
297297

298298
- Type: `void`
299-
- Props Type: [`AutocompleteProps`](/docs/typedef/AutocompleteProps)
299+
- Props Type: [`AutocompleteProps`](/docs/types/AutocompleteProps)
300300

301301
This function will be called when an autocomplete interaction event is triggered for any option set as autocomplete in this command's `data` object.
302302

303303
### `options` (optional)
304304

305-
- Type: [`CommandOptions`](/docs/typedef/CommandOptions)
305+
- Type: [`CommandOptions`](/docs/types/CommandOptions)
306306

307307
This property contains the command's registration/handling behaviour.

packages/commandkit/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CommandKit is a library that makes it easy to handle commands and events in your
2424

2525
## Documentation
2626

27-
You can find the full documentation [here](https://commandkit.js.org).
27+
You can find the full documentation [here](https://commandkit.dev).
2828

2929
## Installation
3030

@@ -62,7 +62,7 @@ npm install commandkit@dev
6262
6363
## Usage
6464

65-
This is a simple overview of how to set up this library with all the options. You can read more in the [full documentation](https://commandkit.js.org)
65+
This is a simple overview of how to set up this library with all the options. You can read more in the [full documentation](https://commandkit.dev)
6666

6767
```js
6868
// index.js

packages/commandkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"url": "https://github.com/underctrl-io/commandkit",
3636
"directory": "packages/commandkit"
3737
},
38-
"homepage": "https://commandkit.js.org",
38+
"homepage": "https://commandkit.dev",
3939
"keywords": [
4040
"discord.js",
4141
"command handler",

packages/commandkit/src/CommandKit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class CommandKit {
1515
* Create a new command and event handler with CommandKit.
1616
*
1717
* @param options - The default CommandKit configuration.
18-
* @see {@link https://commandkit.js.org/guide/commandkit-setup}
18+
* @see {@link https://commandkit.dev/guide/commandkit-setup}
1919
*/
2020
constructor(options: CommandKitOptions) {
2121
if (!options.client) {

packages/create-commandkit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ create-commandkit is a CLI utility to quickly instantiate a Discord bot with Com
1717

1818
## Documentation
1919

20-
You can find the full documentation [here](https://commandkit.js.org).
20+
You can find the full documentation [here](https://commandkit.dev).
2121

2222
## Usage
2323

packages/create-commandkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"url": "https://github.com/underctrl-io/commandkit",
2727
"directory": "packages/create-commandkit"
2828
},
29-
"homepage": "https://commandkit.js.org",
29+
"homepage": "https://commandkit.dev",
3030
"scripts": {
3131
"lint": "tsc --noEmit",
3232
"dev": "tsup --watch",

packages/create-commandkit/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ export const commandkit = gradient(textColors.commandkit)('CommandKit');
5959
export const outroMsg = `
6060
${gradient(textColors.commandkit)('Thank you for choosing CommandKit!')}
6161
62-
• Documentation: ${colors.blue('https://commandkit.js.org')}
62+
• Documentation: ${colors.blue('https://commandkit.dev')}
6363
• Join us on Discord: ${colors.blue('https://ctrl.lol/discord')}
6464
`;

packages/create-commandkit/templates/JavaScript/cjs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Thanks for choosing CommandKit to build your Discord bot!
66

77
## Useful links
88

9-
- [Documentation](https://commandkit.js.org)
9+
- [Documentation](https://commandkit.dev)
1010
- [Discord](https://ctrl.lol/discord)

packages/create-commandkit/templates/JavaScript/cjs/src/commands/General/ping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ module.exports = {
1414

1515
/** @type {import('commandkit').CommandOptions} */
1616
options: {
17-
// https://commandkit.js.org/typedef/CommandOptions
17+
// https://commandkit.dev/docs/types/CommandOptions
1818
},
1919
};

0 commit comments

Comments
 (0)