This commit is contained in:
midoks 2023-03-18 18:32:30 +08:00
parent 04012085ce
commit 84f0cda89b
2 changed files with 10 additions and 2 deletions

View File

@ -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')

View File

@ -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)