koishi-plugin-video-parser-all 1.3.9 → 1.4.0

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/index.js +2 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1243,6 +1243,8 @@ function apply(ctx, config) {
1243
1243
  ctx.on('message', async (session) => {
1244
1244
  if (!config.enable)
1245
1245
  return;
1246
+ if (/^\s*parse\b/i.test(session.content || ''))
1247
+ return;
1246
1248
  if (session.subtype === 'file_upload')
1247
1249
  return;
1248
1250
  if (session.elements?.some(elem => elem.type === 'file' || elem.type === 'folder'))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-video-parser-all",
3
3
  "description": "Koishi 全平台视频/图集解析插件,支持抖音/快手/B站/微博/小红书/剪映/YouTube/TikTok等20+平台",
4
- "version": "1.3.9",
4
+ "version": "1.4.0",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [