pull/405/head
midoks 2 years ago
parent bf5274c313
commit 13a39f4d6a
  1. 4
      plugins/tgbot/startup/extend/push_ad.py
  2. 4
      plugins/tgbot/startup/extend/push_notice_msg.py

@ -77,7 +77,9 @@ def send_msg(bot, tag='ad', trigger_time=300):
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php'), text="搜索", url='https://bbs.midoks.me/search.php'),
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="@ME", url='tg://user?id=5568699210') text="@ME", url='tg://user?id=5568699210'),
types.InlineKeyboardButton(
text="100RMB/M", url='tg://user?id=5568699210')
] ]
] ]
markup = types.InlineKeyboardMarkup(keyboard) markup = types.InlineKeyboardMarkup(keyboard)

@ -75,7 +75,9 @@ def send_msg(bot, tag='ad', trigger_time=300):
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php'), text="搜索", url='https://bbs.midoks.me/search.php'),
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="@ME", url='tg://user?id=5568699210') text="@ME", url='tg://user?id=5568699210'),
types.InlineKeyboardButton(
text="100RMB/M", url='tg://user?id=5568699210')
] ]
] ]
markup = types.InlineKeyboardMarkup(keyboard) markup = types.InlineKeyboardMarkup(keyboard)

Loading…
Cancel
Save