From 4add8b3c5cd424d0489cb6c54d82155df76665a9 Mon Sep 17 00:00:00 2001 From: notunderctrl Date: Sat, 14 Dec 2024 22:11:53 +0300 Subject: [PATCH] use commandkit.dev as primary domain --- README.md | 2 +- apps/docs/content/guide/command-file-setup.mdx | 8 ++++---- packages/commandkit/README.md | 4 ++-- packages/commandkit/package.json | 2 +- packages/commandkit/src/CommandKit.ts | 2 +- packages/create-commandkit/README.md | 2 +- packages/create-commandkit/package.json | 2 +- packages/create-commandkit/src/utils.ts | 2 +- .../create-commandkit/templates/JavaScript/cjs/README.md | 2 +- .../templates/JavaScript/cjs/src/commands/General/ping.js | 2 +- .../create-commandkit/templates/JavaScript/esm/README.md | 2 +- .../templates/JavaScript/esm/src/commands/General/ping.js | 2 +- .../create-commandkit/templates/TypeScript/cjs/README.md | 2 +- .../templates/TypeScript/cjs/src/commands/General/ping.ts | 2 +- .../create-commandkit/templates/TypeScript/esm/README.md | 2 +- .../templates/TypeScript/esm/src/commands/General/ping.ts | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index a29ba54..8cf5914 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ If you are looking for support or want to provide suggestions, check out the [Di ## Links -- [Website](https://commandkit.js.org) ([source](https://github.com/underctrl-io/commandkit/tree/main/apps/docs)) +- [Website](https://commandkit.dev) ([source](https://github.com/underctrl-io/commandkit/tree/main/apps/docs)) - [Support Server](https://ctrl.lol/discord) - [CommandKit source](https://github.com/underctrl-io/commandkit/tree/main/packages/commandkit) - [npm](https://www.npmjs.com/package/commandkit) diff --git a/apps/docs/content/guide/command-file-setup.mdx b/apps/docs/content/guide/command-file-setup.mdx index 8026e9d..6096e30 100644 --- a/apps/docs/content/guide/command-file-setup.mdx +++ b/apps/docs/content/guide/command-file-setup.mdx @@ -281,7 +281,7 @@ Here's an example of how to use the `autocomplete` function: ### `data` -- 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) +- 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) This property contains the command's structural information, and is required to register and handle commands. @@ -289,19 +289,19 @@ This property contains the command's structural information, and is required to - Type: `void` -- Props Type: [`SlashCommandProps`](/docs/typedef/SlashCommandProps) | [`ContextMenuCommandProps`](/docs/typedef/ContextMenuCommandProps) +- Props Type: [`SlashCommandProps`](/docs/types/SlashCommandProps) | [`ContextMenuCommandProps`](/docs/types/ContextMenuCommandProps) This function will be called when the command is executed. ### `autocomplete` - Type: `void` -- Props Type: [`AutocompleteProps`](/docs/typedef/AutocompleteProps) +- Props Type: [`AutocompleteProps`](/docs/types/AutocompleteProps) This function will be called when an autocomplete interaction event is triggered for any option set as autocomplete in this command's `data` object. ### `options` (optional) -- Type: [`CommandOptions`](/docs/typedef/CommandOptions) +- Type: [`CommandOptions`](/docs/types/CommandOptions) This property contains the command's registration/handling behaviour. diff --git a/packages/commandkit/README.md b/packages/commandkit/README.md index 0829538..afbd8e2 100644 --- a/packages/commandkit/README.md +++ b/packages/commandkit/README.md @@ -24,7 +24,7 @@ CommandKit is a library that makes it easy to handle commands and events in your ## Documentation -You can find the full documentation [here](https://commandkit.js.org). +You can find the full documentation [here](https://commandkit.dev). ## Installation @@ -62,7 +62,7 @@ npm install commandkit@dev ## Usage -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) +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) ```js // index.js diff --git a/packages/commandkit/package.json b/packages/commandkit/package.json index 0124298..e40f34f 100644 --- a/packages/commandkit/package.json +++ b/packages/commandkit/package.json @@ -35,7 +35,7 @@ "url": "https://github.com/underctrl-io/commandkit", "directory": "packages/commandkit" }, - "homepage": "https://commandkit.js.org", + "homepage": "https://commandkit.dev", "keywords": [ "discord.js", "command handler", diff --git a/packages/commandkit/src/CommandKit.ts b/packages/commandkit/src/CommandKit.ts index 1827ef8..eabd133 100644 --- a/packages/commandkit/src/CommandKit.ts +++ b/packages/commandkit/src/CommandKit.ts @@ -15,7 +15,7 @@ export class CommandKit { * Create a new command and event handler with CommandKit. * * @param options - The default CommandKit configuration. - * @see {@link https://commandkit.js.org/guide/commandkit-setup} + * @see {@link https://commandkit.dev/guide/commandkit-setup} */ constructor(options: CommandKitOptions) { if (!options.client) { diff --git a/packages/create-commandkit/README.md b/packages/create-commandkit/README.md index b9a27d9..4ec147d 100644 --- a/packages/create-commandkit/README.md +++ b/packages/create-commandkit/README.md @@ -17,7 +17,7 @@ create-commandkit is a CLI utility to quickly instantiate a Discord bot with Com ## Documentation -You can find the full documentation [here](https://commandkit.js.org). +You can find the full documentation [here](https://commandkit.dev). ## Usage diff --git a/packages/create-commandkit/package.json b/packages/create-commandkit/package.json index cae99d3..7a34ad8 100644 --- a/packages/create-commandkit/package.json +++ b/packages/create-commandkit/package.json @@ -26,7 +26,7 @@ "url": "https://github.com/underctrl-io/commandkit", "directory": "packages/create-commandkit" }, - "homepage": "https://commandkit.js.org", + "homepage": "https://commandkit.dev", "scripts": { "lint": "tsc --noEmit", "dev": "tsup --watch", diff --git a/packages/create-commandkit/src/utils.ts b/packages/create-commandkit/src/utils.ts index b1ed5c4..9245a67 100644 --- a/packages/create-commandkit/src/utils.ts +++ b/packages/create-commandkit/src/utils.ts @@ -59,6 +59,6 @@ export const commandkit = gradient(textColors.commandkit)('CommandKit'); export const outroMsg = ` ${gradient(textColors.commandkit)('Thank you for choosing CommandKit!')} -• Documentation: ${colors.blue('https://commandkit.js.org')} +• Documentation: ${colors.blue('https://commandkit.dev')} • Join us on Discord: ${colors.blue('https://ctrl.lol/discord')} `; diff --git a/packages/create-commandkit/templates/JavaScript/cjs/README.md b/packages/create-commandkit/templates/JavaScript/cjs/README.md index 0179f53..cbe3242 100644 --- a/packages/create-commandkit/templates/JavaScript/cjs/README.md +++ b/packages/create-commandkit/templates/JavaScript/cjs/README.md @@ -6,5 +6,5 @@ Thanks for choosing CommandKit to build your Discord bot! ## Useful links -- [Documentation](https://commandkit.js.org) +- [Documentation](https://commandkit.dev) - [Discord](https://ctrl.lol/discord) diff --git a/packages/create-commandkit/templates/JavaScript/cjs/src/commands/General/ping.js b/packages/create-commandkit/templates/JavaScript/cjs/src/commands/General/ping.js index 65fd889..7621474 100644 --- a/packages/create-commandkit/templates/JavaScript/cjs/src/commands/General/ping.js +++ b/packages/create-commandkit/templates/JavaScript/cjs/src/commands/General/ping.js @@ -14,6 +14,6 @@ module.exports = { /** @type {import('commandkit').CommandOptions} */ options: { - // https://commandkit.js.org/typedef/CommandOptions + // https://commandkit.dev/docs/types/CommandOptions }, }; diff --git a/packages/create-commandkit/templates/JavaScript/esm/README.md b/packages/create-commandkit/templates/JavaScript/esm/README.md index 0179f53..cbe3242 100644 --- a/packages/create-commandkit/templates/JavaScript/esm/README.md +++ b/packages/create-commandkit/templates/JavaScript/esm/README.md @@ -6,5 +6,5 @@ Thanks for choosing CommandKit to build your Discord bot! ## Useful links -- [Documentation](https://commandkit.js.org) +- [Documentation](https://commandkit.dev) - [Discord](https://ctrl.lol/discord) diff --git a/packages/create-commandkit/templates/JavaScript/esm/src/commands/General/ping.js b/packages/create-commandkit/templates/JavaScript/esm/src/commands/General/ping.js index a1359f5..5a4d868 100644 --- a/packages/create-commandkit/templates/JavaScript/esm/src/commands/General/ping.js +++ b/packages/create-commandkit/templates/JavaScript/esm/src/commands/General/ping.js @@ -13,5 +13,5 @@ export const run = ({ interaction }) => { /** @type {import('commandkit').CommandOptions} */ export const options = { - // https://commandkit.js.org/typedef/CommandOptions + // https://commandkit.dev/docs/types/CommandOptions }; diff --git a/packages/create-commandkit/templates/TypeScript/cjs/README.md b/packages/create-commandkit/templates/TypeScript/cjs/README.md index 0179f53..cbe3242 100644 --- a/packages/create-commandkit/templates/TypeScript/cjs/README.md +++ b/packages/create-commandkit/templates/TypeScript/cjs/README.md @@ -6,5 +6,5 @@ Thanks for choosing CommandKit to build your Discord bot! ## Useful links -- [Documentation](https://commandkit.js.org) +- [Documentation](https://commandkit.dev) - [Discord](https://ctrl.lol/discord) diff --git a/packages/create-commandkit/templates/TypeScript/cjs/src/commands/General/ping.ts b/packages/create-commandkit/templates/TypeScript/cjs/src/commands/General/ping.ts index 12268b2..a0a20f5 100644 --- a/packages/create-commandkit/templates/TypeScript/cjs/src/commands/General/ping.ts +++ b/packages/create-commandkit/templates/TypeScript/cjs/src/commands/General/ping.ts @@ -14,5 +14,5 @@ export const run = ({ interaction }: SlashCommandProps) => { }; export const options: CommandOptions = { - // https://commandkit.js.org/typedef/CommandOptions + // https://commandkit.dev/docs/types/CommandOptions }; diff --git a/packages/create-commandkit/templates/TypeScript/esm/README.md b/packages/create-commandkit/templates/TypeScript/esm/README.md index 0179f53..cbe3242 100644 --- a/packages/create-commandkit/templates/TypeScript/esm/README.md +++ b/packages/create-commandkit/templates/TypeScript/esm/README.md @@ -6,5 +6,5 @@ Thanks for choosing CommandKit to build your Discord bot! ## Useful links -- [Documentation](https://commandkit.js.org) +- [Documentation](https://commandkit.dev) - [Discord](https://ctrl.lol/discord) diff --git a/packages/create-commandkit/templates/TypeScript/esm/src/commands/General/ping.ts b/packages/create-commandkit/templates/TypeScript/esm/src/commands/General/ping.ts index 12268b2..a0a20f5 100644 --- a/packages/create-commandkit/templates/TypeScript/esm/src/commands/General/ping.ts +++ b/packages/create-commandkit/templates/TypeScript/esm/src/commands/General/ping.ts @@ -14,5 +14,5 @@ export const run = ({ interaction }: SlashCommandProps) => { }; export const options: CommandOptions = { - // https://commandkit.js.org/typedef/CommandOptions + // https://commandkit.dev/docs/types/CommandOptions };