pull/510/head
Mr Chen 1 year ago
parent 1665256627
commit b92dbea2c8
  1. 4
      plugins/tgbot/startup/extend/push_ad.py
  2. 6
      plugins/tgbot/startup/extend/push_bbs_ntid.py
  3. 4
      plugins/tgbot/startup/extend/push_notice_msg.py

@ -84,9 +84,9 @@ def send_msg(bot, tag='ad', trigger_time=300):
],
[
types.InlineKeyboardButton(
text="论坛", url='https://bbs.midoks.me'),
text="论坛", url='https://bbs.midoks.icu'),
types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php'),
text="搜索", url='https://bbs.midoks.icu/search.php'),
types.InlineKeyboardButton(
text="@ME", url='tg://user?id=5568699210'),
types.InlineKeyboardButton(

@ -78,16 +78,16 @@ def send_msg(bot, tag='ad', trigger_time=300):
yes, info = get_newest_tid()
if yes:
url = 'https://bbs.midoks.me/thread-' + info['tid'] + '-1-1.html'
url = 'https://bbs.midoks.icu/thread-' + info['tid'] + '-1-1.html'
keyboard = [
[
types.InlineKeyboardButton(text=info['subject'], url=url)
],
[
types.InlineKeyboardButton(
text="论坛", url='https://bbs.midoks.me'),
text="论坛", url='https://bbs.midoks.icu'),
types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php')
text="搜索", url='https://bbs.midoks.icu/search.php')
]
]
markup = types.InlineKeyboardMarkup(keyboard)

@ -94,9 +94,9 @@ def send_msg(bot, tag='ad', trigger_time=300):
],
[
types.InlineKeyboardButton(
text="论坛", url='https://bbs.midoks.me'),
text="论坛", url='https://bbs.midoks.icu'),
types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php'),
text="搜索", url='https://bbs.midoks.icu/search.php'),
types.InlineKeyboardButton(
text="@ME", url='tg://user?id=5568699210'),
types.InlineKeyboardButton(

Loading…
Cancel
Save