koishi-plugin-ets2-tools-tmp 3.1.8 → 3.1.91

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.
@@ -298,7 +298,10 @@ class ActivityService {
298
298
 
299
299
  for (const activity of this.todayActivities) {
300
300
  const hasProfile = !!activity.profileFile;
301
- const message = hasProfile ? this.cfg.messages.profileUploaded : this.cfg.messages.profileNotUploaded;
301
+ let message = hasProfile ? this.cfg.messages.profileUploaded : this.cfg.messages.profileNotUploaded;
302
+ if (hasProfile && activity.state == 0) {
303
+ message += ",当前状态草稿。";
304
+ }
302
305
  const fullMessage = `活动 "${activity.themeName || '未知活动'}" - ${message}`;
303
306
  this.logger.message(`活动档位检查: "${activity.themeName || '未知活动'}" - ${hasProfile ? "已上传" : "未上传"}`);
304
307
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ets2-tools-tmp",
3
3
  "description": "欧卡2 TruckersMP信息查询、车队平台查询及活动提醒",
4
- "version": "3.1.8",
4
+ "version": "3.1.91",
5
5
  "contributors": [
6
6
  "opwop <slhp1013@qq.com>",
7
7
  "bot_actions <168329908@qq.com>"