We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da0d48 commit 2dd8ea0Copy full SHA for 2dd8ea0
2 files changed
apps/website/docs/guide/13-ai-powered-commands/03-ai-commands.mdx
@@ -32,7 +32,7 @@ export const aiConfig = {
32
} satisfies AiConfig;
33
34
// Regular command handler
35
-export async function messageCommand(ctx: MessageCommandContext) {
+export async function message(ctx: MessageCommandContext) {
36
const username = ctx.args.join(' ') || 'stranger';
37
await ctx.message.reply(`Hello, ${username}!`);
38
}
apps/website/docs/guide/13-ai-powered-commands/08-troubleshooting.mdx
@@ -484,7 +484,7 @@ export const command = {
484
description: 'Debug AI system',
485
};
486
487
488
const aiPlugin = useAI();
489
const config = getAIConfig();
490
0 commit comments