Skip to content

关于命令匹配的一些疑问 #507

Answered by yanyongyu
Freeman-fan asked this question in 问答
Discussion options

You must be logged in to vote
  1. 本来就不需要空格啊,如果你是想要强制要空格的话,可以使用 force_whitespace 参数
  2. nb 内置 rule to_me 就是识别是否 at 机器人或者私聊的规则
  3. 你需要的就是 on_message

以上问题在文档中均有涉及

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Freeman-fan
Comment options

@yanyongyu
Comment options

Answer selected by Freeman-fan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
问答
Labels
None yet
2 participants