koishi-plugin-echo-cave 1.16.9 → 1.16.10
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.cjs +2 -2
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -583,7 +583,7 @@ function apply(ctx, cfg) {
|
|
|
583
583
|
ctx.command("cave [id:number]").action(
|
|
584
584
|
async ({ session }, id) => await getCave(ctx, session, cfg, id)
|
|
585
585
|
);
|
|
586
|
-
ctx.command("cave.echo [...userIds
|
|
586
|
+
ctx.command("cave.echo [...userIds]").action(
|
|
587
587
|
async ({ session }, ...userIds) => await addCave(ctx, session, cfg, userIds)
|
|
588
588
|
);
|
|
589
589
|
ctx.command("cave.wipe <id:number>").action(
|
|
@@ -593,7 +593,7 @@ function apply(ctx, cfg) {
|
|
|
593
593
|
ctx.command("cave.trace").action(
|
|
594
594
|
async ({ session }) => await getCaveListByOriginUser(ctx, session)
|
|
595
595
|
);
|
|
596
|
-
ctx.command("cave.bind <id:number> <...userIds
|
|
596
|
+
ctx.command("cave.bind <id:number> <...userIds>", { authority: 4 }).action(
|
|
597
597
|
async ({ session }, id, ...userIds) => await bindUsersToCave(ctx, session, id, userIds)
|
|
598
598
|
);
|
|
599
599
|
}
|