koishi-plugin-stock 2.1.8 → 2.1.9

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/README.md CHANGED
@@ -65,6 +65,11 @@ npm install koishi-plugin-stock
65
65
 
66
66
  ## 更新日志
67
67
 
68
+ ### v2.1.9 (2026-03-02)
69
+ - 🎯 **消息格式优化**:简化定时广播前缀为"[定时广播]",移除冗余的内容标识
70
+ - ✅ **格式统一**:所有定时推送消息格式为"[定时广播] 📊指数看板:..."
71
+ - 📦 保持所有功能逻辑不变,仅优化消息显示格式
72
+
68
73
  ### v2.1.8 (2026-03-02)
69
74
  - 🎯 **用户体验优化**:为定时广播消息添加"[定时广播 - 内容]"前缀标识
70
75
  - ✅ **消息识别**:用户可以清楚区分定时推送和手动触发的消息
@@ -93,7 +93,7 @@ class BroadcastScheduler {
93
93
  }
94
94
  }
95
95
  // 添加定时广播前缀
96
- messageContent = `[定时广播 - ${task.content}] ${messageContent}`;
96
+ messageContent = `[定时广播] ${messageContent}`;
97
97
  // 执行广播任务
98
98
  const targets = task.targetIds.split(',').map(id => id.trim()).filter(id => id);
99
99
  if (task.type === 'private') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koishi-plugin-stock",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "A Koishi plugin that fetches stock data and provides market analysis, including active market cap, stock alerts, limit-up board, stock selection features, and heart method card drawing with configurable blacklists for each command.",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",