koishi-plugin-booknews 0.0.8 → 0.0.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/lib/index.js +4 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -66,6 +66,10 @@ function apply(ctx, config) {
|
|
|
66
66
|
nickname: "书讯助手"
|
|
67
67
|
}, `📅 书讯汇总 (${partNum}/${totalParts})
|
|
68
68
|
本段包含 ${chunk.length} 条资讯`));
|
|
69
|
+
if (i === 0) {
|
|
70
|
+
ctx.logger("book").info(`[调试] 正在准备发送第 ${partNum} 段,节点总数: ${nodes.length}`);
|
|
71
|
+
ctx.logger("book").info(`[调试] 第一个节点详情: ${JSON.stringify(nodes[0], null, 2)}`);
|
|
72
|
+
}
|
|
69
73
|
try {
|
|
70
74
|
await bot.sendMessage(config.dstGroupIds, nodes);
|
|
71
75
|
await new Promise((resolve) => setTimeout(resolve, 2e3));
|