koishi-plugin-onebot-verifier 1.1.1 → 1.1.2

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 +0 -6
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -233,12 +233,6 @@ function apply(ctx, config = {}) {
233
233
  return;
234
234
  }
235
235
  }
236
- if (config.verifyMode && config.verifyMode !== "manual") {
237
- const isApprove = config.verifyMode === "accept";
238
- await executeAction(session, kind, isApprove, "默认规则,自动处理");
239
- await sendNotice(session, kind, isApprove ? "auto_pass" : "auto_reject");
240
- return;
241
- }
242
236
  return await setupManual(session, kind);
243
237
  }
244
238
  let verdict = false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-onebot-verifier",
3
3
  "description": "适用于 Onebot 的审核插件,支持自动审核好友/加群/邀请请求",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "contributors": [
6
6
  "Yis_Rime <yis_rime@outlook.com>"
7
7
  ],