Skip to content

Commit

Permalink
Add instructions with user or channel type (#188)
Browse files Browse the repository at this point in the history
Co-authored-by: Shigma <[email protected]>
  • Loading branch information
ForkKILLET and shigma authored Sep 1, 2024
1 parent 00a544f commit 7464ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zh-CN/guide/basic/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ ctx.command('test [arg:number]')
- number: `number` 数值
- bigint: `bigint` [大整数](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigInt)
- text: `string` 贪婪匹配的字符串
- user: `string` 用户,格式为 `{platform}:{id}`
- channel: `string` 频道,格式为 `{platform}:{id}`
- user: `string` 用户,格式为 `{platform}:{id}` (调用时可以使用 `at` 元素或者 `@{platform}:{id}` 的格式)
- channel: `string` 频道,格式为 `{platform}:{id}` (调用时可以使用 `sharp` 元素或者 `#{platform}:{id}` 的格式)
- integer: `number` 整数
- posint: `number` 正整数
- natural: `number` 正整数
Expand Down

0 comments on commit 7464ba1

Please sign in to comment.