diff --git a/plugins/tgbot/startup/extend/push_ad.py b/plugins/tgbot/startup/extend/push_ad.py index ccc9b1aa2..954610911 100644 --- a/plugins/tgbot/startup/extend/push_ad.py +++ b/plugins/tgbot/startup/extend/push_ad.py @@ -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') diff --git a/plugins/tgbot/startup/extend/push_tmp_msg.py b/plugins/tgbot/startup/extend/push_tmp_msg.py index a859a8e5c..e65d514c5 100644 --- a/plugins/tgbot/startup/extend/push_tmp_msg.py +++ b/plugins/tgbot/startup/extend/push_tmp_msg.py @@ -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)