Closed idranme closed 5 months ago
仅允许参数的值为非负整数
指令参数类型增加非负整数
No response
natural
https://github.com/koishijs/koishi/blob/d985a519741f3a46fbd0919f32dffcc3a75e74ae/packages/core/src/command/index.ts#L187-L191
natural https://github.com/koishijs/koishi/blob/d985a519741f3a46fbd0919f32dffcc3a75e74ae/packages/core/src/command/index.ts#L187-L191
https://koishi.chat/zh-CN/guide/basic/command.html#argument-type 目前文档未提及
嗯……也行,我先补一个文档吧
Describe the problem related to the feature request
仅允许参数的值为非负整数
Describe the solution you'd like
指令参数类型增加非负整数
Describe alternatives you've considered
No response
Additional context
No response