koishi-plugin-ggcevo-game 1.2.12 → 1.2.13

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 +3 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1701,15 +1701,14 @@ ${achievementList.join("\n")}`;
1701
1701
  const message = [
1702
1702
  `📺 监测到违规大厅 ID: ${lobby.id}`,
1703
1703
  `创建时间: ${new Date(lobby.createdAt).toLocaleString("zh-CN")}`,
1704
- `🏆 安全玩家:${atElements || "无"}
1705
- 🚨 违规玩家(${violators.length} 人):`,
1706
- // 合并两行并添加换行符
1704
+ `🚨 违规玩家(${violators.length} 人):`,
1707
1705
  ...violators.map((v) => {
1708
1706
  const record = punishmentRecords.find((r) => r.handle === v.handle);
1709
1707
  return `· ${v.name}(${record?.level}级处罚)`;
1710
1708
  }),
1711
1709
  `房主: ${lobby.hostName}`,
1712
- `玩家数: ${lobby.slotsHumansTaken}/${lobby.slotsHumansTotal}`
1710
+ `玩家数: ${lobby.slotsHumansTaken}/${lobby.slotsHumansTotal}`,
1711
+ `🏆 安全玩家:${atElements || "无"}`
1713
1712
  ].join("\n");
1714
1713
  await ctx.broadcast(config.groupId, message);
1715
1714
  processedLobbies.add(lobby.id);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "《星际争霸2》咕咕虫-evolved地图的专属游戏助手插件,集成天梯排行、抽奖系统、签到福利、兑换商城等丰富功能。",
4
- "version": "1.2.12",
4
+ "version": "1.2.13",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [