koishi-plugin-ccb-plus 1.0.7 → 1.0.8
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 +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -461,7 +461,7 @@ function applyCcbCommand(ctx, config, state) {
|
|
|
461
461
|
const senderOptOut = senderSetting?.optOut ?? config.defaultOptOut;
|
|
462
462
|
const senderIsInitial = !senderSetting;
|
|
463
463
|
if (senderOptOut) {
|
|
464
|
-
const message2 = senderIsInitial ? "
|
|
464
|
+
const message2 = senderIsInitial ? "你还未开启ccb功能。请先使用 /ccb --on 来开启。" : "你已开启保护模式,无法ccb他人。请先使用 /ccb --on 解除保护。";
|
|
465
465
|
return message2;
|
|
466
466
|
}
|
|
467
467
|
const actorId = senderId;
|