koishi-plugin-cchess 0.0.8 → 0.0.9

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.js +1 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -936,7 +936,7 @@ function apply(ctx, config) {
936
936
  if (!name) {
937
937
  const guildMember = await session.bot.getGuildMember(session.guildId, userId);
938
938
  // 替换原始的 at 标签
939
- const newAtTag = `<at id="${userId}" name="${guildMember.name}"/>`;
939
+ const newAtTag = `<at id="${userId}" name="${guildMember.user.name}"/>`;
940
940
  content = content.replace(match[0], newAtTag);
941
941
  }
942
942
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-cchess",
3
3
  "description": "欢迎来到中国象棋游戏,支持人人/人机对战、纵线/坐标操作方式、编辑棋盘、导入/导出FEN等功能,提供 40+ 棋盘/棋子皮肤及排行榜系统。🎪",
4
- "version": "0.0.8",
4
+ "version": "0.0.9",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
@@ -48,7 +48,7 @@
48
48
  "koishi": "^4.17.3"
49
49
  },
50
50
  "devDependencies": {
51
- "koishi-plugin-markdown-to-image-service": "^1.1.6",
51
+ "koishi-plugin-markdown-to-image-service": "^1.1.8",
52
52
  "koishi-plugin-puppeteer": "^3.8.3"
53
53
  }
54
54
  }