-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
请问如何才能让关键字触发的时候bot自动回复? #4
Comments
得用模糊或者正则吧,但是好像并没有生效,没有触发关键字直接回复,试了很久都没有成功,必须要全都是精确回复 |
# My settings
reply-mode: 0
view-mode: 1
default-switch: 1
|
|
重新试了一下,模糊能用,但是正则好像用不了,有没有例子说明一下比如 /正则表达式/ 之类的 |
将正则匹配模式串作为词条名,将回复内容作为词条内容,我稍后添加例子放在 README 中 |
|
@sakurakyoko10 请问问题是否已解决 |
另,若只需要回复,推荐修改 "view":{
- "reply":"$1 的内容如下:\n--------\n$2"
+ "reply":"$2"
} 本issue将关闭 |
我把“view-mode”修改为1后也没有解决,把reply-mode改成1仍然不回复
The text was updated successfully, but these errors were encountered: