Update push_notice_msg.py

This commit is contained in:
midoks
2023-03-29 13:17:38 +08:00
parent 0612f52402
commit babe1b885e
@@ -44,10 +44,6 @@ def send_msg(bot, tag='ad', trigger_time=300):
# ♻️CMS导航网♻️/💰流量变现💰 | 28/m
# CK资源采集 |29/m
keyboard = [
[
types.InlineKeyboardButton(
text="为了不打扰双方,私聊解决问题先转100U,否则无视!", url='tg://user?id=5568699210')
],
[
types.InlineKeyboardButton(
text="CK资源采集", url='https://ckzy1.com/')
@@ -72,12 +68,16 @@ def send_msg(bot, tag='ad', trigger_time=300):
types.InlineKeyboardButton(
text="论坛", url='https://bbs.midoks.me'),
types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php')
text="搜索", url='https://bbs.midoks.me/search.php'),
types.InlineKeyboardButton(
text="@ME", url='tg://user?id=5568699210')
]
]
markup = types.InlineKeyboardMarkup(keyboard)
msg = bot.send_message(
chat_id, "由于在解决的问题的时候,不给信息,无法了解情况。以后不再群里回答技术问题。全部去论坛提问。在解决问题的过程中,可能需要面板信息,和SSH信息,如无法提供请不要提问。为了让群里都知晓。轮播一年", reply_markup=markup)
msg_notice = "由于在解决的问题的时候,不给信息,无法了解情况。以后不再群里回答技术问题。全部去论坛提问。在解决问题的过程中,可能需要面板信息,和SSH信息,如无法提供请不要提问。为了让群里都知晓。轮播一年!\n"
msg_notice += "为了不打扰双方,私聊解决问题先转100U,否则无视!"
msg = bot.send_message(chat_id, msg_notice, reply_markup=markup)
# print(msg.message_id)
time.sleep(60)