This commit is contained in:
parent
04012085ce
commit
84f0cda89b
|
|
@ -48,6 +48,10 @@ def send_msg(bot, tag='ad', trigger_time=300):
|
|||
],
|
||||
[
|
||||
types.InlineKeyboardButton(
|
||||
text="💎DigitalVirt(赞助商)", url='https://digitalvirt.com/aff.php?aff=154')
|
||||
],
|
||||
[
|
||||
types.InlineKeyboardButton(
|
||||
text="论坛", url='https://bbs.midoks.me'),
|
||||
types.InlineKeyboardButton(
|
||||
text="搜索", url='https://bbs.midoks.me/search.php')
|
||||
|
|
|
|||
|
|
@ -47,6 +47,10 @@ def send_msg(bot, tag='ad', trigger_time=300):
|
|||
],
|
||||
[
|
||||
types.InlineKeyboardButton(
|
||||
text="💎DigitalVirt(赞助商)", url='https://digitalvirt.com/aff.php?aff=154')
|
||||
],
|
||||
[
|
||||
types.InlineKeyboardButton(
|
||||
text="论坛", url='https://bbs.midoks.me'),
|
||||
types.InlineKeyboardButton(
|
||||
text="搜索", url='https://bbs.midoks.me/search.php')
|
||||
|
|
@ -57,10 +61,10 @@ def send_msg(bot, tag='ad', trigger_time=300):
|
|||
chat_id, "由于在解决的问题的时候,不给信息,无法了解情况。以后不再群里回答技术问题。全部去论坛提问。在解决问题的过程中,可能需要面板信息,和SSH信息,如无法提供请不要提问。为了让群里都知晓。轮播一年", reply_markup=markup)
|
||||
|
||||
# print(msg.message_id)
|
||||
time.sleep(10)
|
||||
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', 13)
|
||||
send_msg(bot, 'tmp_msg', 90)
|
||||
|
|
|
|||
Loading…
Reference in New Issue