From 0909a11fd93656c65fb001674809cc9f022e475b Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 5 May 2023 14:03:45 +0800 Subject: [PATCH] Update client_ad.py --- plugins/tgclient/startup/extend/client_ad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tgclient/startup/extend/client_ad.py b/plugins/tgclient/startup/extend/client_ad.py index 6c819d3c0..6cb531dc6 100644 --- a/plugins/tgclient/startup/extend/client_ad.py +++ b/plugins/tgclient/startup/extend/client_ad.py @@ -46,7 +46,7 @@ async def writeLog(log_str): mw.writeFileLog(now + ':' + log_str, log_file, limit_size=5 * 1024) return True -async def send_msg(client, chat_id, tag='ad', trigger_time=3600): +async def send_msg(client, chat_id, tag='ad', trigger_time=600): # 信号只在一个周期内执行一次|start lock_file = mw.getServerDir() + '/tgclient/lock.json' if not os.path.exists(lock_file):