yz-yuki-plugin 1.0.2-rc.0 → 1.0.2-rc.1
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.
|
@@ -111,7 +111,7 @@ class BiliQuery {
|
|
|
111
111
|
formatData.data.pubTs = moment(author.pub_ts * 1000).format("YYYY年MM月DD日 HH:mm:ss");
|
|
112
112
|
formatData.data.url = `${BiliDrawDynamicLinkUrl}${data.id_str}`;
|
|
113
113
|
formatData.data.pics = [data?.cover];
|
|
114
|
-
formatData.data.orig = this.formatDynamicData(data.orig);
|
|
114
|
+
formatData.data.orig = await this.formatDynamicData(data.orig);
|
|
115
115
|
formatData.data.category = "转发动态";
|
|
116
116
|
break;
|
|
117
117
|
case "DYNAMIC_TYPE_LIVE_RCMD":
|
|
@@ -79,7 +79,7 @@ class BiliTask {
|
|
|
79
79
|
const bot_id = subInfoOfup.bot_id || [];
|
|
80
80
|
const { name, type } = subInfoOfup;
|
|
81
81
|
uidMap.set(subInfoOfup.uid, { chatIds, bot_id, upName: name, type, chatType });
|
|
82
|
-
await new Promise((resolve) => setTimeout(resolve, Math.floor(Math.random() * (
|
|
82
|
+
await new Promise((resolve) => setTimeout(resolve, Math.floor(Math.random() * (8000 - 2000 + 1) + 2000)));
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|