Skip to content

Commit ea96954

Browse files
authored
docs: fix message command example to use ctx.args()
1 parent 05ddbdf commit ea96954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website/docs/guide/02-commands/04-message-commands.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const command: CommandData = {
5353
};
5454

5555
export const message: MessageCommand = async (ctx) => {
56-
const args = ctx.message.args(); // string[]
56+
const args = ctx.args(); // string[]
5757
};
5858
```
5959

0 commit comments

Comments
 (0)