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.
- package/lib/index.js +0 -6
- 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;
|