mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
Merge pull request #348 from sihuan/fix-bilibili_sub
Fix wrong live streamer name, fixes #284
This commit is contained in:
@@ -60,7 +60,7 @@ async def add_live_sub(live_id: int, sub_user: str) -> str:
|
||||
live_status=live_status,
|
||||
):
|
||||
await _get_up_status(live_id)
|
||||
uname = (await BilibiliSub.get_sub(live_id)).uname
|
||||
uname = (await BilibiliSub.get_sub(uid)).uname
|
||||
return (
|
||||
"已成功订阅主播:\n"
|
||||
f"\ttitle:{title}\n"
|
||||
|
||||
Reference in New Issue
Block a user