commit
c3a0a839c3
@ -643,7 +643,8 @@ class DownloadChain(ChainBase):
|
|||||||
self.post_message(Notification(
|
self.post_message(Notification(
|
||||||
channel=channel,
|
channel=channel,
|
||||||
mtype=NotificationType.Download,
|
mtype=NotificationType.Download,
|
||||||
title="没有正在下载的任务!"))
|
title="没有正在下载的任务!",
|
||||||
|
userid=userid))
|
||||||
return
|
return
|
||||||
# 发送消息
|
# 发送消息
|
||||||
title = f"共 {len(torrents)} 个任务正在下载:"
|
title = f"共 {len(torrents)} 个任务正在下载:"
|
||||||
|
@ -91,7 +91,8 @@ class SiteChain(ChainBase):
|
|||||||
if not site_list:
|
if not site_list:
|
||||||
self.post_message(Notification(
|
self.post_message(Notification(
|
||||||
channel=channel,
|
channel=channel,
|
||||||
title="没有维护任何站点信息!"))
|
title="没有维护任何站点信息!",
|
||||||
|
userid=userid))
|
||||||
title = f"共有 {len(site_list)} 个站点,回复对应指令操作:" \
|
title = f"共有 {len(site_list)} 个站点,回复对应指令操作:" \
|
||||||
f"\n- 禁用站点:/site_disable [id]" \
|
f"\n- 禁用站点:/site_disable [id]" \
|
||||||
f"\n- 启用站点:/site_enable [id]" \
|
f"\n- 启用站点:/site_enable [id]" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user