koishi-plugin-ciyi 0.0.9 → 1.0.0

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
@@ -155,7 +155,7 @@ ${formattedRanks}`;
155
155
  return await sendMsg(session, "请先开始每日挑战!");
156
156
  }
157
157
  if (gameInfo[0].isOver) {
158
- return await sendMsg(session, "今日挑战已结束,请明日再来!");
158
+ return await sendMsg(session, isSameDay(session.timestamp, gameInfo[0].lastStartTimestamp) ? "今日挑战已结束,请明日再来!" : "今日挑战还未开始!\n\n发送 ciyi.每日挑战 开始今日的挑战吧~");
159
159
  }
160
160
  if (gameInfo[0].guessedHistoryInOneGame.includes(guess)) {
161
161
  return await sendMsg(session, "你已经猜过这个词了!");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ciyi",
3
3
  "description": "Koishi 的词意(猜词游戏)插件。根据词语的含义相似程度,猜测正确的词语。",
4
- "version": "0.0.9",
4
+ "version": "1.0.0",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [