🐞 fix: 修复epic链接问题

This commit is contained in:
zhiyu1998 2023-03-25 17:17:35 +08:00
parent a6791a1ada
commit c34f1b0738

View File

@ -439,7 +439,7 @@ export class query extends plugin {
.toLocaleString("zh-CN", options)
.replace(/(\d{1,2})\s/, "$1日 ");
}
const resMsg = `${gameName} (${originalPrice})\n\n${game.description}\n\n游戏${companies}\n${game?.url}\n将在 ${endDate} 结束免费游玩,戳上方链接领取吧~`;
const resMsg = `${gameName} (${originalPrice})\n\n${game.description}\n\n游戏${companies}\n链接:${game?.url || "暂无"}\n将在 ${endDate} 结束免费游玩,戳上方链接领取吧~`;
e.reply([resMsg, ...availableImgUrl.map(url => segment.image(url))])
}
}