Skip to content
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

[feature request]语言库支持多个reply #419

Closed
Miuzarte opened this issue May 9, 2023 · 5 comments
Closed

[feature request]语言库支持多个reply #419

Miuzarte opened this issue May 9, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@Miuzarte
Copy link

Miuzarte commented May 9, 2023

可以在语言库的reply中填入多个回复项,同时可以设置某个回复项的权重(不填则均分概率)
然后就可以手动实现某些功能:
7161e96896caa7a9.png
3685decbb9bcc892.png

@Tsuk1ko Tsuk1ko added the enhancement New feature or request label May 9, 2023
@Tsuk1ko
Copy link
Owner

Tsuk1ko commented May 10, 2023

https://github.com/Tsuk1ko/cq-picsearcher-bot/wiki/%E9%99%84%E5%8A%A0%E5%8A%9F%E8%83%BD#%E5%A4%9A%E4%B8%AA%E5%9B%9E%E5%A4%8D%E9%A1%B9

@Miuzarte
Copy link
Author

Miuzarte commented May 11, 2023

https://github.com/Tsuk1ko/cq-picsearcher-bot/wiki/%E9%99%84%E5%8A%A0%E5%8A%9F%E8%83%BD#%E5%A4%9A%E4%B8%AA%E5%9B%9E%E5%A4%8D%E9%A1%B9

好像超过十个内容的话只会回复第二个。。。?

{
  "regexp": "^test$",
  "reply": [
    "1",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9",
    "10",
    "11"
  ],
  "scene": "all"
}

@Tsuk1ko
Copy link
Owner

Tsuk1ko commented May 11, 2023

草,随机逻辑写错了

@Tsuk1ko
Copy link
Owner

Tsuk1ko commented May 11, 2023

修复了,拉下最新代码

@Miuzarte
Copy link
Author

修复了,拉下最新代码

没问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants