koishi-plugin-aka-60s-api 0.2.11 → 0.2.12
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
|
@@ -477,7 +477,7 @@ ${newsItem.link}`).join("\n\n");
|
|
|
477
477
|
}
|
|
478
478
|
__name(sendMoyuToChannels, "sendMoyuToChannels");
|
|
479
479
|
function formatGoldText(data) {
|
|
480
|
-
const targetNames = ["
|
|
480
|
+
const targetNames = ["今日金价", "伦敦金(现货黄金)", "白银价格", "铂金价格", "钯金价格"];
|
|
481
481
|
const metals = data.metals.filter((item) => targetNames.includes(item.name)).map((item) => {
|
|
482
482
|
return `${item.name}: ${item.today_price}${item.unit}`;
|
|
483
483
|
});
|