File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
apps/website/docs/guide/13-ai-powered-commands Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const aiConfig = {
32
32
} satisfies AiConfig ;
33
33
34
34
// Regular command handler
35
- export async function messageCommand (ctx : MessageCommandContext ) {
35
+ export async function message (ctx : MessageCommandContext ) {
36
36
const username = ctx .args .join (' ' ) || ' stranger' ;
37
37
await ctx .message .reply (` Hello, ${username }! ` );
38
38
}
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ export const command = {
484
484
description: ' Debug AI system' ,
485
485
};
486
486
487
- export async function messageCommand (ctx : MessageCommandContext ) {
487
+ export async function message (ctx : MessageCommandContext ) {
488
488
const aiPlugin = useAI ();
489
489
const config = getAIConfig ();
490
490
You can’t perform that action at this time.
0 commit comments