feat: change format of cleaned link message

This commit is contained in:
草师傅 2025-08-13 11:41:35 +08:00
parent 9b8657fdd5
commit 4a508de083

View file

@ -250,7 +250,7 @@ async def handle_links(message: Message):
final_urls = [url for url in final_urls if url is not None] final_urls = [url for url in final_urls if url is not None]
# 回复处理后的链接 # 回复处理后的链接
if final_urls: if final_urls:
await message.reply(f"{"\n".join(final_urls)}\n消息里有包含跟踪参数的链接,已经帮你转换了哦~\n\n" await message.reply(f"<blockquote expandable>\n{"\n\n".join(final_urls)}\n</blockquote>\n消息里有包含跟踪参数的链接,已经帮你转换了哦~\n\n"
f"这个功能是试验性的,可能会出现问题" f"注意:这个功能是试验性的,可能会出现问题"
f"可以将返回的结果再次发送给bot或者尝试手动清理。\n如果你找到了这个工具的问题,欢迎" f"\n如果你找到了问题,欢迎"
f"把它通过 `/report_broken_links 链接 需要去除的参数等等` 报告给开发者!") f"把它通过 <code>/report_broken_links 链接 需要去除的参数等等</code> 报告给开发者!")