Giter Site home page Giter Site logo

Comments (8)

unlimitwhitenight avatar unlimitwhitenight commented on July 26, 2024

得用模糊或者正则吧,但是好像并没有生效,没有触发关键字直接回复,试了很久都没有成功,必须要全都是精确回复

from entrylib.

Ag-elf avatar Ag-elf commented on July 26, 2024
# My settings
reply-mode: 0
view-mode: 1
default-switch: 1
  1. 应该只有在群组会回复
  2. 应该需要确认群组是否有权限
  3. 应该需要保证词条已经入库
  4. mcl 是否有报错 ?

from entrylib.

BillYang2016 avatar BillYang2016 commented on July 26, 2024

得用模糊或者正则吧,但是好像并没有生效,没有触发关键字直接回复,试了很久都没有成功,必须要全都是精确回复

view-mode调整为1后使用模糊方式学习。
请重试一下,若仍有相同问题请提供一下详细信息或复现方案

from entrylib.

unlimitwhitenight avatar unlimitwhitenight commented on July 26, 2024

得用模糊或者正则吧,但是好像并没有生效,没有触发关键字直接回复,试了很久都没有成功,必须要全都是精确回复

view-mode调整为1后使用模糊方式学习。
请重试一下,若仍有相同问题请提供一下详细信息或复现方案

重新试了一下,模糊能用,但是正则好像用不了,有没有例子说明一下比如 /正则表达式/ 之类的

from entrylib.

BillYang2016 avatar BillYang2016 commented on July 26, 2024

重新试了一下,模糊能用,但是正则好像用不了,有没有例子说明一下比如 /正则表达式/ 之类的

将正则匹配模式串作为词条名,将回复内容作为词条内容,我稍后添加例子放在 README 中

from entrylib.

BillYang2016 avatar BillYang2016 commented on July 26, 2024

重新试了一下,模糊能用,但是正则好像用不了,有没有例子说明一下比如 /正则表达式/ 之类的

已添加示例

from entrylib.

BillYang2016 avatar BillYang2016 commented on July 26, 2024

我把“view-mode”修改为1后也没有解决,把reply-mode改成1仍然不回复

@sakurakyoko10 请问问题是否已解决

from entrylib.

BillYang2016 avatar BillYang2016 commented on July 26, 2024

另,若只需要回复,推荐修改output.json配置:

"view":{
-  "reply":"$1 的内容如下:\n--------\n$2"
+  "reply":"$2"
}

本issue将关闭

from entrylib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.