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

改进插件 我有一个朋友,避免触发过于频繁 #1001

Merged
merged 1 commit into from
Aug 21, 2022

Conversation

HiDolen
Copy link
Contributor

@HiDolen HiDolen commented Aug 17, 2022

在群聊里 我有一个朋友 被误触发的概率太大了,翻了下代码发现是正则表达式有些问题。

于是修改了一下,并添加了额外的匹配限制:例如 “我” 和 “朋友” 之间最多只能有 4 个字符、帮忙问的话最多 30 个字符。

@HibiKier HibiKier merged commit 727628c into HibiKier:main Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants