Skip to content

Commit

Permalink
fix live.md
Browse files Browse the repository at this point in the history
credential=credential
  • Loading branch information
z0z0r4 authored Dec 9, 2023
1 parent f677179 commit 11c33b1
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 11c33b1

Please sign in to comment.