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 = {
3232} satisfies AiConfig ;
3333
3434// Regular command handler
35- export async function messageCommand (ctx : MessageCommandContext ) {
35+ export async function message (ctx : MessageCommandContext ) {
3636 const username = ctx .args .join (' ' ) || ' stranger' ;
3737 await ctx .message .reply (` Hello, ${username }! ` );
3838}
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ export const command = {
484484 description: ' Debug AI system' ,
485485};
486486
487- export async function messageCommand (ctx : MessageCommandContext ) {
487+ export async function message (ctx : MessageCommandContext ) {
488488 const aiPlugin = useAI ();
489489 const config = getAIConfig ();
490490
You can’t perform that action at this time.
0 commit comments