fix 下载消息增加用户

This commit is contained in:
thsrite 2023-09-28 12:03:18 +08:00
parent 295cafc060
commit dccded2d3e

View File

@ -39,8 +39,10 @@ class DownloadChain(ChainBase):
发送添加下载的消息
"""
msg_text = ""
if userid:
msg_text = f"用户:{userid}"
if torrent.site_name:
msg_text = f"站点:{torrent.site_name}"
msg_text = f"{msg_text}\n站点:{torrent.site_name}"
if meta.resource_term:
msg_text = f"{msg_text}\n质量:{meta.resource_term}"
if torrent.size: