update
This commit is contained in:
parent
1665256627
commit
b92dbea2c8
|
|
@ -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…
Reference in New Issue