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.
- package/lib/index.js +1 -1
- 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, "你已经猜过这个词了!");
|