koishi-plugin-ggcevo-game 1.0.26 → 1.0.27
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.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1482,12 +1482,12 @@ ${achievementList.join("\n")}`;
|
|
|
1482
1482
|
const message = [
|
|
1483
1483
|
`🏟️ 发现受监控玩家在开放大厅中!`,
|
|
1484
1484
|
`大厅ID: ${lobby.id}`,
|
|
1485
|
-
`主机名称: ${lobby.hostName}`,
|
|
1486
1485
|
`创建时间: ${new Date(lobby.createdAt).toLocaleString("zh-CN", { timeZone: "Asia/Shanghai" })}`,
|
|
1487
|
-
|
|
1486
|
+
`违规玩家列表:`,
|
|
1488
1487
|
...matchedSlots.map(
|
|
1489
1488
|
(slot) => `· ${slot.name}(处罚等级:${punishmentMap.get(slot.handle).level})`
|
|
1490
1489
|
),
|
|
1490
|
+
`房主名称: ${lobby.hostName}`,
|
|
1491
1491
|
`玩家数量: ${lobby.slotsHumansTaken}/${lobby.slotsHumansTotal}`
|
|
1492
1492
|
].join("\n");
|
|
1493
1493
|
await ctx.broadcast(config.groupId, message);
|