koishi-plugin-wordle-game 2.3.0 → 2.3.1

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 +1 -1
package/lib/index.js CHANGED
@@ -3041,7 +3041,7 @@ ${content}
3041
3041
  if (!name) {
3042
3042
  const guildMember = await session.bot.getGuildMember(session.guildId, userId);
3043
3043
  // 替换原始的 at 标签
3044
- const newAtTag = `<at id="${userId}" name="${guildMember.name}"/>`;
3044
+ const newAtTag = `<at id="${userId}" name="${guildMember.user.name}"/>`;
3045
3045
  content = content.replace(match[0], newAtTag);
3046
3046
  }
3047
3047
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-wordle-game",
3
3
  "description": "欢迎来到 [Wordle](https://www.nytimes.com/games/wordle/index.html) | [汉兜](https://handle.antfu.me/) | [词影](https://cy.surprising.studio/) |... 猜单词|猜成语|猜数字|猜数学方程式|... 的小游戏,包含多种词库、多种主题、多种游戏设置和排行榜系统。",
4
- "version": "2.3.0",
4
+ "version": "2.3.1",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [