From 531de1407ff45b886f85b41ee0b1e88fd4a181f6 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 28 May 2023 19:00:42 +0800 Subject: [PATCH] Update push_notice_msg.py --- plugins/tgbot/startup/extend/push_notice_msg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tgbot/startup/extend/push_notice_msg.py b/plugins/tgbot/startup/extend/push_notice_msg.py index 90f4a7992..ee5bb668f 100644 --- a/plugins/tgbot/startup/extend/push_notice_msg.py +++ b/plugins/tgbot/startup/extend/push_notice_msg.py @@ -108,7 +108,7 @@ def send_msg(bot, tag='ad', trigger_time=300): msg = bot.send_message(chat_id, msg_notice, reply_markup=markup) # print(msg.message_id) - time.sleep(60) + time.sleep(90) try: bot.delete_message( chat_id=chat_id, message_id=msg.message_id) @@ -118,7 +118,7 @@ def send_msg(bot, tag='ad', trigger_time=300): def run(bot): try: - send_msg(bot, 'notice_msg', 180) + send_msg(bot, 'notice_msg', 90) except Exception as e: writeLog('-----push_notice_msg error start -------') print(mw.getTracebackInfo())