koishi-plugin-group-analysis-mx 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +2 -2
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -382,8 +382,8 @@ function isJunkMessage(content) {
382
382
  const s = String(content).trim();
383
383
  if (!s)
384
384
  return false;
385
- // 腾讯 QQ 官方机器人消息签名
386
- if (/^ROBOT1\.0_/i.test(s))
385
+ // 腾讯 QQ 官方机器人消息签名(任意位置出现都过滤)
386
+ if (/ROBOT1\.0_/.test(s))
387
387
  return true;
388
388
  // 超长且无空白的 sign/token 串(正常聊天不会这样)
389
389
  if (s.length > 150 && !/\s/.test(s) && /^[A-Za-z0-9+/=_.!-]+$/.test(s))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-group-analysis-mx",
3
3
  "description": "群聊分析插件 - 生成精美群聊统计报告,支持 AI 话题总结(独立版,不依赖 ChatLuna)",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",