You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/docs/guide/13-ai-powered-commands/01-introduction.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ configureAI({
82
82
83
83
Now you can simply import this file in your `app.ts`,
84
84
85
-
```ts title="app.ts"
85
+
```ts title="src/app.ts"
86
86
import { Client } from'discord.js';
87
87
// simply import the ai file
88
88
import'./ai';
@@ -96,7 +96,7 @@ export default client;
96
96
97
97
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.
0 commit comments