Update push_tmp_msg.py

This commit is contained in:
midoks
2023-03-22 17:01:50 +08:00
parent 56bee5c752
commit bfc20b3e42
+5 -2
View File
@@ -67,8 +67,11 @@ def send_msg(bot, tag='ad', trigger_time=300):
# print(msg.message_id)
time.sleep(50)
del_msg = bot.delete_message(chat_id=chat_id, message_id=msg.message_id)
# print(del_msg)
try:
bot.delete_message(
chat_id=chat_id, message_id=msg.message_id)
except Exception as e:
pass
def run(bot):