We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@app.decorators.Command({ name: '.问<触发词>答<回答句>', command: /^\.问([\s\S]+?)答([\s\S]+)$/, desc: '添加问答', usage: '.问a答b', privateChat: true, // 是否接受私聊消息(可选,默认为true) publicChat: true // `是否接受群聊消息(可选,默认为true)` }) public addWord(msg: PublicMessageEvent, args: RegExpExecArray) { console.log(msg) console.log(args) }
公屏触发时有输出 私聊触发时无输出
不知道有没有像2.0一样的reply函数,能够根据公屏还是私聊触发回复相应的回复
The text was updated successfully, but these errors were encountered:
No branches or pull requests
公屏触发时有输出
私聊触发时无输出
不知道有没有像2.0一样的reply函数,能够根据公屏还是私聊触发回复相应的回复
The text was updated successfully, but these errors were encountered: