mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update push_tmp_msg.py
This commit is contained in:
@@ -58,10 +58,10 @@ def send_msg(bot, tag='ad', trigger_time=300):
|
||||
chat_id, "由于在解决的问题的时候,不给信息,无法了解情况。以后不再群里回答技术问题。全部去论坛提问。为了让群里都知晓。轮播一个月", reply_markup=markup)
|
||||
|
||||
# print(msg.message_id)
|
||||
time.sleep(1 * 60)
|
||||
time.sleep(20)
|
||||
del_msg = bot.delete_message(chat_id=chat_id, message_id=msg.message_id)
|
||||
# print(del_msg)
|
||||
|
||||
|
||||
def run(bot):
|
||||
send_msg(bot, 'tmp_msg', 3 * 60)
|
||||
send_msg(bot, 'tmp_msg', 30)
|
||||
|
||||
Reference in New Issue
Block a user