diff --git a/plugins/info.py b/plugins/info.py index 904104b..5dc5212 100644 --- a/plugins/info.py +++ b/plugins/info.py @@ -28,6 +28,7 @@ vtuber_msg = """ def gen_info_button(data: Vtuber) -> InlineKeyboardMarkup: msg_link = sqlite.get(str(data.room_id), {}).get("msg_link", "https://t.me/DD_YTbs_Live_Tracker") data_ = [[InlineKeyboardButton("详情", url=msg_link), + InlineKeyboardButton("主页", url=data.space_link), InlineKeyboardButton("订阅", url=f"https://t.me/{me.username}?start={data.room_id}"), ]] return InlineKeyboardMarkup(data_) diff --git a/plugins/track.py b/plugins/track.py index 6549109..16591d1 100644 --- a/plugins/track.py +++ b/plugins/track.py @@ -25,7 +25,7 @@ async def send_track_msg(track_msg, no_button=False) -> Message: reply_markup=button) -@scheduler.scheduled_job("cron", minute="*/10", id="0") +@scheduler.scheduled_job("cron", minute="*/10", id="1") async def run_every_10_minute(): await update_data() need_update = compare()