Skip to content

Commit

Permalink
Merge branch 'Nemo2011:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
nooblong authored Dec 26, 2023
2 parents a616b6d + 11c33b1 commit 5253cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/live.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ BUVID3 = ""
self_uid = 0
# 实例化 Credential 类
credential = Credential(sessdata=SESSDATA, bili_jct=BILI_JCT, buvid3=BUVID3)
room = live.LiveRoom(22544798, credential)
room = live.LiveRoom(22544798, credential=credential)

# 获取礼物列表
gift_config = sync(live.get_gift_config())
Expand Down Expand Up @@ -144,4 +144,4 @@ async def recv(event):
sync(monitor.connect())
```

参考:[自动回复直播间弹幕](https://github.com/Nemo2011/bilibili-api/issues/240#issuecomment-1475619484)
参考:[自动回复直播间弹幕](https://github.com/Nemo2011/bilibili-api/issues/240#issuecomment-1475619484)

0 comments on commit 5253cfb

Please sign in to comment.