Skip to content

Commit f905e3f

Browse files
committed
docs: improve ai plugin
1 parent 8aba75e commit f905e3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/website/docs/guide/13-ai-powered-commands/01-introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ configureAI({
8282

8383
Now you can simply import this file in your `app.ts`,
8484

85-
```ts title="app.ts"
85+
```ts title="src/app.ts"
8686
import { Client } from 'discord.js';
8787
// simply import the ai file
8888
import './ai';
@@ -96,7 +96,7 @@ export default client;
9696

9797
AI commands can be created by exporting a function called `ai` from your command file. You can also export `aiConfig` object along with the `ai` function to specify the parameters for the command.
9898

99-
```typescript title="src/commands/balance.ts"
99+
```typescript title="src/app/commands/balance.ts"
100100
import { ApplicationCommandOptionType } from 'discord.js';
101101
import { CommandData, ChatInputCommand } from 'commandkit';
102102
import { AiCommand } from '@commandkit/ai';

0 commit comments

Comments
 (0)