Comments (6)
这几天事情比较多,会抽时间修一下
我是不是不适合写正则
from sora.
我把CommandUtils.cs里的151行和185行$"({command})+"
改成了$"({command}{1}"
就解决了问题,至于解决问题的原理...答不上来,但我知道+是匹配1或者多次改成{1}就变成只匹配1次了,做关键词匹配 匹配一次就好了,莫名解决了这个问题
我这也是业余水平,遇到要正则就去一个个试
反编译dll再打包回去测的
from sora.
我今晚更新一个看看
可以的话可以来群里坐坐
from sora.
在日志Debug中所展示的群号,已经搜不到了(
from sora.
草我忘记开检索了,再试试
之前有奇怪的人
from sora.
from sora.
Related Issues (20)
- v1.0.0-rc28及以上版本的Log工具类无法在CentOS 8上使用 HOT 5
- v1.0.0-rc26中 Sora.Net.ConnectionManager.HeartBeatUpdate() 抛出 KeyNotFoundException HOT 3
- SoraCommand设置SourceFlag.Private时提示不支持的类型 HOT 2
- 关于异常捕获 HOT 1
- [功能需求] SoraService中需要StopService方法销毁WebSocket连接,需要Pause方法暂停事件分发
- 单条信息同时匹配多个指令时,eventArgs.CommandRegex永远是最后匹配Command的正则 HOT 1
- 内部HeartBeatUpdate触发程序崩溃
- Fatal:System.Collections.Generic.KeyNotFoundException HOT 4
- 关于SoraCommand中的MatchType HOT 1
- 收到邀请进群通知后崩溃 HOT 1
- 监听群员变动事件后被拉入新群后崩溃 HOT 1
- [建议]GroupMemberInfo中增加IsAdmin HOT 3
- 没有注册常规指令时,动态指令不会被执行 HOT 1
- Group.GetGroupRootFiles() 超时
- Group.GetEssenceMsgList() 精华消息获取的2个问题 HOT 7
- 接收消息时出现错误 MSG_NOT_FOUND HOT 3
- 转发消息的时候图片会变成cq码 HOT 10
- [重要] 未来的计划
- [Feature Request] 静态文件的http服务器(? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sora.