koishi-plugin-echo-cave 1.27.0 → 1.27.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.cjs +2 -1
  2. package/package.json +3 -3
package/lib/index.cjs CHANGED
@@ -1041,7 +1041,8 @@ async function searchCave(ctx, session, userIds) {
1041
1041
  (cave) => cave.relatedUsers.length === 0 ? cave.originUserId === targetUserId : cave.relatedUsers.includes(targetUserId)
1042
1042
  );
1043
1043
  if (matchingCaves.length === 0) {
1044
- return session.text(".noMatchingCaves", [targetUserId]);
1044
+ const userName = await getUserName(ctx, session, targetUserId);
1045
+ return session.text(".noMatchingCaves", [userName]);
1045
1046
  }
1046
1047
  const caveIds = matchingCaves.map((cave) => cave.id).join(", ");
1047
1048
  const count = matchingCaves.length;
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.27.0",
4
+ "version": "1.27.2",
5
5
  "main": "lib/index.cjs",
6
6
  "typings": "lib/index.d.ts",
7
7
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  "koishi": "^4.18.9"
37
37
  },
38
38
  "dependencies": {
39
- "axios": "^1.13.2",
39
+ "axios": "^1.13.3",
40
40
  "uuid": "^11.1.0",
41
41
  "@pynickle/koishi-plugin-adapter-onebot": "^1.0.0"
42
42
  },
@@ -49,7 +49,7 @@
49
49
  "@types/node": "^24.10.9",
50
50
  "conventional-changelog-conventionalcommits": "^9.1.0",
51
51
  "esbuild": "^0.27.2",
52
- "oxfmt": "^0.26.0",
52
+ "oxfmt": "^0.27.0",
53
53
  "oxlint": "^1.41.0",
54
54
  "semantic-release": "^25.0.2",
55
55
  "typescript": "^5.9.3"