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.
Files changed (2) hide show
  1. package/lib/index.cjs +2 -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:user]").action(
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:user>", { authority: 4 }).action(
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
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-echo-cave",
3
3
  "description": "Group echo cave",
4
- "version": "1.16.9",
4
+ "version": "1.16.10",
5
5
  "main": "lib/index.cjs",
6
6
  "typings": "lib/index.d.ts",
7
7
  "type": "module",